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.

Template Questions /

SS 2.4 - <% base_tag %> outputs: http://www.www.mysite.com


Reply


3 Posts   662 Views

Avatar
DsX

Community Member, 178 Posts

7 February 2013 at 3:04pm

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

other times I have seen things like: http://www.aaa.mysite.com
here the aaa. shouldn't be.

Further I don't have a 'aaa' subdomain. However; http://www.aaa.mysite.com 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???

Avatar
Willr

Forum Moderator, 5513 Posts

7 February 2013 at 8:28pm

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

Avatar
DsX

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: http://pop.www.mysite.com ??