WordPress.org

Forums

[resolved] Images link to localhost (6 posts)

  1. hvrossum
    Member
    Posted 2 years ago #

    I installed WP on IIS server. I prefilled my new site wilde being on localhost. After that i changed the binding to reflect the correct URL, however also after updating the home and base url, images remain pointing to localhost while everything else workshop fine.

    What am I missing here?

    Thanks
    Harry

  2. fonglh
    Member
    Posted 2 years ago #

    You need to do a find and replace to change localhost to your domain name as WordPress uses full paths everywhere.

    See http://codex.wordpress.org/Moving_WordPress

  3. halty
    Member
    Posted 2 years ago #

    Alternative (automatic) solution for moving wordpress across servers: http://www.halty.net

    It will change your localhost links to the new URL automatically.

    Let me know if you run into any issue with it.

  4. WPWebs
    Member
    Posted 2 years ago #

    You can do one thing,

    Get the complete data export from old source and import in new working place.

    I may work for you.

    Thanks

  5. WPWebs
    Member
    Posted 2 years ago #

    Hi halty, if you get database sql and processing find & replace the older path to new path, In this case the widgets and other serialize data store will damage and you may lost such data. Please take cart of it. It's mostly in widget section.

  6. hvrossum
    Member
    Posted 2 years ago #

    I used the Search and Replace plugin. and this worked great

Topic Closed

This topic has been closed to new replies.

About this Topic