Aliased domains being redirected (by wordpress?)
-
Hi,
I’m trying to figure out if a problem is wordpress, or my hosting provider.
Previously, I was using WordPress 4.3.5 (I think), and it’s been stable for ages. A big part about the way I used it, is that I had my primary domain, eg https://www.primary.com and my secondary domain eg https://www.secondary.com aliased to the primary one.
My WordPress install lived in https://www.primary.com/afolder and I had the standard technique of putting the tiny index.php in the root folder to let the site look as if it was installed in root.
The way it has always worked, and worked well, is that if a person went to https://www.secondary.com, they would get my website, but everything about it would behave as if it were the one and only domain for that site. Clicking on all the nav items, links between posts etc, the address in the browser would stay as starting with https://www.secondary.com.
Since upgrading to 4.5.3 whenever I go to my site using https://www.secondary.com, the browser immediately redirects to https://www.primary.com – the primary.com address has always been in WordPress’ settings as the site address – but it’s never seemed to be an issue previously.
This doesn’t happen with static html pages that aren’t a part of wordpress, and if I put in the address of a Page in the wordpress site eg https://www.secondary.com/about, it doesn’t redirect, but all the links generated by wordpress are being output as links to https://www.primary.com
Am I seeing a change in the behaviour of wordpress that’s been introduced since 4.3.5, or could this be a problem within the realm of a theme to cause, or am I perhaps seeing this as a symptom of something going wrong at my host?
- The topic ‘Aliased domains being redirected (by wordpress?)’ is closed to new replies.