Benjamin Charity

Move Your Wordpress Blog to a New Location

February 4th 2011

Moving your WordPress blog can be a scary task.  Whether you are moving your Wordpress site to a new domain or simply to a new sub folder it's actually quite simple.

1. First, move your files to the new location.

2. Open your wp-config.php and add this line:

define('RELOCATE',true);

3. In the site's general settings change the Wordpress address and site address to reflect the changes.

4. Finally, remove the line from your wp-config.php file that you added in step 2.

As simple as that, your WordPress website is now in your new location.