SQL for Rewriting WordPress Database Links
When you move a WordPress site, whether that’s from a live to a local site, or perhaps when you change the site to SSL, you will need to change the URLs in the database. There are plugins for this, but it’s easy enough to do in the database itself using a few simple SQL statements…
