I’ve just finished a WordPress website for a client and migrated it from the test location to the final live location. The cPanel account that is hosting the live instance is set up to have two domains; let’s call them [am.com]) and [at.com]) for simplicity.
Prior to the migration, I had a static “Coming Soon” page in place. When a visitor used the [am.com]) URL their address bar continued to say [am.com]); when they used the [at.com]) URL their address bar continued to say [at.com]) \- this is the desired behavior.
After the migration, both URLs bring up the site but, because I had to specify one of the URLs as the site URL in the WordPress settings, the URL that displays in the browser’s address bar is always [at.com]) even if they arrived at the site by using a [am.com]) URL.
How can I fix this so that the user’s address bar reflects the URL that they used to arrive at the site?
Thanks!
[ad_2]