How to quickly change the wordpress site url editing wp-config.php

Posted at January 1, 2016 at 4:24 pm by John Quaglieri

wp-config.php has many options to change and customize many wordpress settings. Changing the site url is one option which can be very useful if due to an incorrect site URL you are unable to log into the wordpress admin section. To change edit wp-config.php and add in

define('WP_HOME','http://interserver.net');
define('WP_SITEURL','http://interserver.net');

Change interserver.net to your own domain name.

The changes should go under the MySQL settings.

5.00 avg. rating (94% score) - 3 votes

You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply