If  you may want to change the URL of your WordPress site. The function provided by the WordPress developers to change the site url is "update_option". Simply add these lines to the functions.php file of your theme: update_option('siteurl','http://www.new-siteaddress.com'); update_option('home','http://www.new-siteaddress.com'); Then simply load your site from ...