[Resolved] Using alternate URL's for wordpress
I have a working wordpress site, as example http://www.example.com .
I want to extend the install to a high available 2 server config.
Now for simplicity i don’t want a cluster fs or something like that, just i’m syncing the files from first server to second from time to time.
Now since i will have a loadbalancer before the 2 server, when i login can end up in any of the 2 servers . I would like to login to the first, so if i upload a file will get synced to 2nd.
Added 2 new hostnames : server1.example.com and server2.example.com, configured in the webserver etc.
But when i try to view http://server1.example.com/wp-admin it gets redirected to http://www.example.com/wp-login.php. I tried to login via http://server1.example.com/wp-login.php, but after login i get redirected to the dashboard at http://www.example.com .
Tried to disable the canonical URL redirect, but didn’t help.
Any solution to this?
- The topic ‘[Resolved] Using alternate URL's for wordpress’ is closed to new replies.