WordPress.org

Ready to get started?Download WordPress

Forums

testing site keeps linking to localhost address (4 posts)

  1. htown
    Member
    Posted 12 months 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,
    Houston

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

    Give this a read.

    http://codex.wordpress.org/Moving_WordPress#Moving_to_a_New_Server

    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
    Member
    Posted 11 months 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,
    Houston

  4. myfreelance101
    Member
    Posted 11 months 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
    http://wordpress.org/plugins/duplicator/

    install in on localhost and start migration using it.

    hope that helps.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.