Forums

[resolved] Live WP site still takes me to localhost and more headache (5 posts)

  1. alan092177
    Member
    Posted 10 months ago #

    n00b query problem.

    I was able to publish my site, I got it to work but I noticed that when I navigate to other pages, the pages in the localhost is called instead of the pages that are up/were published, happens even when I try to log-in to /wp-admin. So how do I prevent this from happening? I get the inkling that I have to change all instances of http://localhost/sitename to http://domain name. But do I do this before publishing it or after publishing it and where in the Dashboard do I this? Which brings us to the next problem - trying to solve the mentioned problem above I changed some parameters in the General Settings, WordPress address (URL) and Site address (URL) in particular. I changed it thinking that if replace it with the domain name, the published pages will be called. Needless to say after that, whenever I try to log in /wp-admin via the live site, I get redirected to the log in page of my localhost and vice-versa. It became a looping sequence, which made me unable to log in to the Dashboard, even when I deleted the published site (thinking it would break the looping sequence). I'm prepared to go into coding mode even if I loathe it just to break the loop.

  2. Samuel B
    moderator
    Posted 10 months ago #

    use this plugin to switch all instances of url
    http://wordpress.org/extend/plugins/search-and-replace/

  3. alan092177
    Member
    Posted 10 months ago #

    Thanks, but I don't think I can install and use it as I can't access my live site and localhost backend. i'm reading a few posts here, hopefully one of them should fix it then I'll use the plugin you suggested.

    Still open for solutions though :)

  4. Samuel B
    moderator
    Posted 10 months ago #

    make sure both site urls are correct at least on live set up
    http://codex.wordpress.org/Changing_The_Site_URL

  5. alan092177
    Member
    Posted 9 months ago #

    thanks for all the inputs. i've managed to fix the problem.

Reply

You must log in to post.

About this Topic