2013-07-25

There are times that some customers need to change their WordPress sites’ domains to a new domain names, and we have also received many customers’ emails asking about how to transfer WordPress sites to the new domain names. In this article, we introduce the 10 steps carefully, to guide customers step by step based on our real operations. Indeed, the steps are simple, but they have to be taken in the right order to make sure you do not hurt your visitors and search engines.

Create a new TXT file named robots.txt, and write in the following content:
User-agent: *
Disallow:/

Put this file on the new domain name.

Copy the database and files of the website, and put them on the new domain.

Change the database configuration to make sure it matches the original database settings. Add the following codes and replace the wordpresshostingreview.net with your new domain name.

define(‘WP_SITEURL’, ‘http://wordpresshostingreview.net’);

define(‘WP_HOME’, ‘http://wordpresshostingreview.net’);

At present, you can set up your website, configure it with the same settings as on the old domain. Note that, if you have a caching plugin installed, you need to delete the cache files.

Then, you need to change your old URLs to the new URLs. You can install the Search and Replace plugin to find the old URL strings in the database and replace them with the new URLs.

Download website: http://wordpress.org/plugins/search-and-replace/

At this point, the main work has been completed, you need to check whether all the steps done correctly again.

If you are fully sure that all steps have been completed correctly, you can remove the robost.txt file.

You have been transferred your website to a completely new domain name. However, your visitors and the search engines don’t know it. So you need to let Google and the other search engines know you have moved. Usually within a week, depending on the search engine, they will have gone through and updated their index with the new domain URL’s. This step is important to keep your users and website rankings in the search engines, and it’s also easy to make. You just need to add the following code into your apache .htaccess or host-configure file on your old blog.

Redirect 301 /blog/ http://www.newdomain.com/

Now, you can rest assured to remove the old blog code and database. You have a completely new blog with the same content but new domain name. If you have a FeedBurner account, change it to pick up the correct feeds.

So, you have simply finished the entire process of moving your WordPress website to a new domain. You can browse your new domain in the Google to check whether everything is ok.

Related Posts:

Linode VS InMotion Hosting – Which VPS is the Better Choice?

DreamHost Renewal Coupon 2013

HostMetro Coupon Code – 20% Off Web Hosting Plans

GoDaddy WordPress Slow? 8 Tips to Accelerate WordPress Loading Speed

Best Business WordPress Hosting Service 2013

Show more