Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

SS 2.4 - <% base_tag %> outputs:

Go to End

3 Posts   1232 Views


Community Member, 178 Posts

7 February 2013 at 3:04pm

In my I have a base tag.
It is outputting strange domains.
For example right now <% base_tag %> outputs:
there should only be one www.

other times I have seen things like:
here the aaa. shouldn't be.

Further I don't have a 'aaa' subdomain. However; loads correctly, other than creating all the links with the aaa.

I am running SS2.4
Where could this be coming from, and how can I stop it???


Forum Moderator, 5523 Posts

7 February 2013 at 8:28pm

Have you got a Director::setBaseUrl() call anywhere?


Community Member, 178 Posts

13 February 2013 at 4:50am

Just had a look through, and no I don't seem to have one.
I have: <% base_tag %> , in my template.
It returns the odd urls, such as right now: ??