Dev site redirects to live site on login
-
Hi, I installed a second WordPress package alongside my live blog in a separate directory, but when I login to the second package instead of seeing the control panel I see the front page of the live site!
The live site is installed in myurl.com/wordpress and the dev site is installed in myurl.com/wp.
- The site url and home url are correct in both setups
- Both sites use separate databases with different table prefixes, and as yet there is only default content in the dev database
- There are .htaccess files in both the myurl.com/wp and myurl.com/wordpress directories but none in the root directory.
- Both sites were installed manually so there should be no server re-directs in play that may have resulted if installed via the control panel
- Tests have proven that myurl.com/wp/wp-login.php is being used for logon
- wp-login.php returns the following values
- DIRECTORY /var/www/vhosts/myurl.com/httpdocs/wp
- HTTP HOST myurl.com
- REQUEST URI /wp/wp-login.php
- NETWORK SITE URL https://myurl.com/wp
Does anyone have any ideas as why I am being re-directed?
Thanks.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Dev site redirects to live site on login’ is closed to new replies.