Fix the problem of loading images in WordPress

It’s a been a long time that I found there is a problem of loading images in WordPress, so I decided to fix this problem.


I open some sample posts with the images inside of it, and I found that the path of all images are . It turns out that my site address has already been changed to


So here is the way to change all the paths of images. Open the PHPMyAdmin site of your server, export all the database under wp_posts, then use your text editor to replace the “” to “”, this method might not be safe so please backup your database. This method can also fix the problem of some death links.


After replacing the path, import back your database, then you will see the difference, the image can be loaded again.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.