I’ve got a strange problem with a site i’ve developed where the [(site_url)] seems to vary between two different values.
I have the site url dropped in the base tag for each page as per normal...
[tt]<base href="
http://www.mydomain.com/"></base>[/tt]
but sometimes it appears as
[tt]<base href="
http://www.totallydifferentdomain.com/"></base>[/tt]
The
same chunk that holds some html head elements is being used in
both cases, but different values are being populated.
I should mention that the other domain is actually a related domain - an old domain that the site used to be known by, which makes me think it must be some weird DNS flip-flopping.
So I guess I’m wondering where MODx gets its value for site_url from?
Is this just the [tt]$_SERVER[’HOSTNAME’][/tt] value?
I want to report it to the site admin who looks after the hosting, but I’m not sure what to tell him.
I’m using
Modx 0.9.6.1p2
PHP 5.2.3
Apache 2
Ubuntu 6.4