testing site keeps linking to localhost address (4 posts)

  1. htown
    Posted 2 years ago #

    I am faily new at WP but have quite a bit Experience with content management systems, namely Joomla!. I cannot figure out for the life of me why the menu items keep wanting to link back to the address of local host (localhost/~xxxx/pool) when I have moved the site to a test server On the Internet. (splitlightdesigns.com/pool)

    How do i prevent this from happening.

    Many thanks,

  2. when I have moved the site to a test server On the Internet.

    Give this a read.


    It sounds like you've missed the step where you need to do a database search and replace from the old http://localhost URL to the new URL.

  3. htown
    Posted 2 years ago #

    I do not see anything that tells me what to edit in the database. It keeps referring to the admin but I can not get to the admin because it keeps reverting back to localhost. :(

    Many thanks,

  4. myfreelance101
    Posted 2 years ago #

    It will not show you what to edit, you should do it manually. Search your database for the occurrences of localhost and replace it with your new url.

    After you are done with that, you should be good to go and you can access the admin of the live site.

    alternatively, you can save some aspirin by using this

    install in on localhost and start migration using it.

    hope that helps.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.