Update references to pictures on website after moving to new URL

I moved my wordpress website to a new URL on the same server and managed to update most DB entries with the Velvet Blues Update URLs plugin. But the paths to my pictures, which are being used by the theme were not updated. Now the website can't load them anymore. The pictures' URLs still point to the old place. Is there tool, which can fix that, so I don't have to search for all entries in the DB by myself?

Topic urls references content database Wordpress

Category Web


Besides doing a custom query in your MYSQL database, I've found this little script to be helpful in my development process, and I've incorporated into my regular workflow to keep my local, development and production servers synchronized:

https://github.com/interconnectit/Search-Replace-DB

Just be sure to read the documentation, especially about overwriting GUID values and also make sure to delete the script after you've made the changes!

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.