How To Change The WordPress Home URL Manually
Posted by blogmeister on
August 7, 2011
To change the values of WP_HOME and WP_SITEURL manually in WordPress, look for the file wp-config.php then add these two lines anywhere in your code (I suggest you place these at the top).
|
1 2 |
define('WP_HOME', 'http://yoururl.com'); define('WP_SITEURL', 'http://yoururl.com'); |
That should force your WordPress site to use those urls as its home urls rather than updating them in the database. This solution is quicker.
Donations appreciated. Every little $ helps. Or click Google +1.









