Support » Localhost Installs » Redirected from local server to internet at log-in

  • I’ve installed a local version wp on my computer with WAMP running. When I enter localhost/mrteeze-www/wp-admin and hit enter I get this in the browser and login page:

    http://mrteeze.com/wp-login.php?redirect_to=http%3A%2F%2Flocalhost%2Fmrteeze-www%2Fwp-admin%2F&reauth=1

    and if I log in it sends me to the live site and doesn’t stay local.

    From spending the day trying to find a resolution the only theory that I haven’t tried or found the answer to is whether or not there could be a redirect code embedded inside the database somewhere. Had several other issues that got resolved, so things are kinda running together at this point. This issue seems to have arisen after uploading database from server and getting it initialized.

    Thank you in advance for any suggestions or help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • If you copied the database from a remote server, you’ll need to change some URLs in table wp_options. Set column option_value to your local app’s URL where option_name= ‘siteurl’ and ‘home’ respectively.

    Well, replaced every http://mrteeze.com to local address in the database and still same issue. It seems that when it calls for wp-admin login it is directing it to real web and not locally. So are there addresses I need to change in the wp-login file? Or am I going in the wrong direction all together?

    Ok, progress was made. I can now get to log in properly. But when I log in it directs me to a page stating:

    Briefly unavailable for scheduled maintenance. Check back in a minute.

    I’m guessing this is due to being local and it it not being able to connect to a designated location. Where do I go to fix this new issue?

    Ok, guess there was actually maintenance going on. thanks for the help Budsy. Seems to working now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Redirected from local server to internet at log-in’ is closed to new replies.