• Resolved webmachine

    (@webmachine)


    I converted an existing site into a cms using WP locally, tested it and it worked fine. Then I published a version of this site on the internet. I was having problems with the permalinks, and trying things with .htaccess. I think in the process, I deleted my .htaccess file from my local site. Now when I try to login in to my local admin area, I get redirected to the live site! and my local site pages link to the live site (with pages not found). How do I fix this mess?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You might need to go in your database and make sure that the right url in in your wp_options table.

    Look for site_url and home. They should have the localhost url and not the live site.

    Thread Starter webmachine

    (@webmachine)

    Thank you. That worked. I have no idea how the urls got switchedm but problem solved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘localhost admin login redirects to live site admin area???’ is closed to new replies.