Changing the URL

wordpressIf you move your Wordpress site to a different domain, you will need to change the Wordpress address and Site address for your installation.  Here are two methods. 


Wordpress Back-end

If you can access the back-end you might be able to make the following changes.

  1. Go to Settings > General.
  2. Change the following fields...
    1. Wordpress Address (URL)
    2. Site Address (URL)

 

Edit wp-config.php

If you can't access the back-end, you may need to make this change manually.  This method allows you to temporarily make this change.

Add the following lines of code to the wp-config.php file.

  • define('WP_HOME','http://yourwebsite.com');
  • define('WP_SITEURL','http://yourwebsite.com');

 

Thanks for visiting.