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:
Login to your Hosting Control Panel.
Locate the Databases section and click on the phpMyAdmin tool.
Locate your database in the left-hand sidebar and click on it.
Now you can see a list of the tables on the left sidebar. Find the wp-posts table there and click on it.
Locate SQL on the top tabs list.
And add the following piece of code to the input area:
UPDATE wp_posts SET post_content=(REPLACE (post_content, '<old url>','<new url>'));
Replace old url with the old sitename and new url with the new site name.
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.