Featured templates

Correcting images links after a WordPress migration

Alison Mitchell March 27, 2017
Rating: 5.0. From 1 vote.
Please wait...

We are glad to present you a new guidance on how to correct images links after a WordPress migration.

After moving your website to a new domain, you can face the broken images urls issue.

In order to fix them and make the images show up properly, perform the following steps:

  1. Login to your Hosting Control Panel.

  2. Locate the Databases section and click on the phpMyAdmin tool.

  3. Locate your database in the left-hand sidebar and click on it.

  4. Now you can see a list of the tables on the left sidebar. Find the wp-posts table there and click on it.

  5. Locate SQL on the top tabs list.

  6. And add the following piece of code to the input area:

    UPDATE wp_posts SET post_content=(REPLACE (post_content, '<old url>','<new url>'));
  7. Replace old url with the old sitename and new url with the new site name.

  8. Click on the Go button.

Now you know how to correct image links after a WordPress migration.

Feel free to check the detailed video tutorial below:

Correcting image links after a WordPress migration

Browse our brand new WordPress Templates and extend the functionality of your website.

Modern Wordpress Themes
This entry was posted in WordPress Tutorials and tagged images, migration, transfer, troubleshooter, WordPress. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket