WordPress.org

Ready to get started?Download WordPress

Forums

Update images links to work in the new blog (6 posts)

  1. iceq
    Member
    Posted 5 years ago #

    Hey

    I have a wordpress 2.2 on one host, and now I have finished installing a new 2.6.3 wordpress on a new host, where I am going to stay with my blog.

    I have imported all the posts and comments and users from the backup, and am installing the updated versions of the plugins.

    The problem is, the images that I posted in my old blog are hosted in the old host, and they load well in the new blog, but I am planning to close my account on the old host, and delete my old blog, and redirect my domain to the new host. Then, the images will not load because they are deleted.

    Supposing I downloaded all the uploaded content from the old blog and uploaded them to the new host, maintaining the exact same folder names and files paths. How can I set the new blog to look for the images in the same links path ?

    Thanx

  2. moshu
    Member
    Posted 5 years ago #

    Yes, that's the way to go:
    1. Download all the images/files from the old location
    2. Upload them in the same folder structure
    3. Use the Search and Replace plugin to find
    http://oldexample.com
    and replace it with
    http://newexample.com
    in your posts. I used it many times and it works perfectly.

  3. iceq
    Member
    Posted 5 years ago #

    U know what .. I think I wouldnt need that at all .. since the blog will be on the same url (www.al-rasid.com/blog), just like the old one (will redirect it to the new host), and I have uploaded the images and files to the new host, keeping the exact same directory structure.. I think I wouldnt need to change anything !!

    dont you think so ?

  4. moshu
    Member
    Posted 5 years ago #

    If the URL/domain is not changing... then, of course, you don't need to change anything.

    Using the word "redirect" was misleading. You do NOT redirect the domain. You point it to the new name servers (DNS). You "redirect" an old different domain to another new one.

  5. iceq
    Member
    Posted 5 years ago #

    oh ok :)

    thax anyway

  6. ivanyez
    Member
    Posted 5 years ago #

    Thnxs for the piece of advice. It worked perfectly!

Topic Closed

This topic has been closed to new replies.

About this Topic