How to Correct Image Links After WordPress Migration?
After migrating the wordpress website from one server to another , you may face some issues related to images in the website. It my be due to incorrect image links. Inorder to ressolve the issue the Siliconhouse provides you the simple steps to ressolve the issue.
Steps to be follow:
1) Login to the Cpanel of the domain
2) Under Database , select PHPmyadmin
3) Click on the newly created database , in the list of tables found the table “wp_posts”
4) Then click on SQL tab on the top
5) It shows the SQL query. In that one replace with below mentioned SQL query
Copy the following query to the code area.
UPDATE wp_posts SET post_content=(REPLACE (post_content, ‘<old url>’,'<new url>’));
*Replace <old url> the old site name and <new url> with the new site name.
Then click on the ‘GO’ button to run the code. After the code has been run, all posts and images will be updated with new site URL.
By this way you can fix the Image Links After WordPress Migration issue.. !!