If you have by no means applied SQL queries so you're totally new to it and don't need to risk breaking apart one thing There's also a bunch of wordpress plugins obtainable that do the URL string substitution all over Every single wordpress table within a WP database one this sort of WordPress plugin is Search and Substitute I have created previ