change domain – Nexyta https://www.nexyta.com Your Next, We Care Mon, 10 Oct 2016 08:50:15 +0000 en-US hourly 1 https://www.nexyta.com/wp-content/uploads/2017/12/Nexyta_favicon.png change domain – Nexyta https://www.nexyta.com 32 32 How to Migrate WordPress From Old to a New Domain Without Losing SEO https://www.nexyta.com/migrate-wordpress-old-new-domain-without-losing-seo/ https://www.nexyta.com/migrate-wordpress-old-new-domain-without-losing-seo/#respond Mon, 10 Oct 2016 08:50:15 +0000 http://www.nexyta.com/?p=1531 In this article, we will show you how to properly move your WordPress site to a new domain name without losing your SEO rankings.

Before You Start

Before you start, we want to emphasize a few things. The process of switching to a new domain will temporarily affect your search engine rankings as Google and other search engines adjusts to the changes. Yes, this will also temporarily affect your search traffic as well. Please keep in mind that this is normal, and it happens to all sites that switch to a new domain.
However, the best part is that you can dramatically decrease the negative SEO effects that migration can have by following this guide. We will show you the right way of moving your WordPress site to a new domain name, setting up proper 301 redirects, and notifying search engines.
Please note that this guide is not for moving your WordPress site to a new web host. This is for switching a domain name. Yes, while the process is similar, there are more things involved in this process as you set 301 redirects and more.

Pre-Steps

In this guide, we are assuming that you have your WordPress site setup on oldsite.com, and you are trying to migrate it to newsite.com. We are also assuming that you have a web hosting account, and you are familiar with your web hosting control panel.
You will also need to know how to use FTP.

Step 1: Create a Full Backup

Before you do anything, it is very important that you create a full backup of your WordPress site. There are tons of plugins and solutions out there that allows you to create a backup. You can use VaultPress, BackupBuddy, BackWPup, or WordPress backup to Dropbox.

Step 2: Moving your WordPress Site

Once you have created a complete backup of your old site, it is time to start the domain migration process. First thing you need to do is install and activate the Duplicator plugin in your WordPress installation on your old site. Once activated, the plugin adds Duplicator menu item in your WordPress admin. Click on the Duplicator manu, and you will see a screen like the one below. Simply click on the create button to create a new package.
create-duplicator-package
Clicking on the create button will start the duplication process, and the plugin will ask you to give your package a name. By default, it will use your website’s name with a date prefix, but you can give it any name you want. The plugin will start creating a zip package of your WordPress database and all your files. This may take some time depending on how much content you have. Once the process is complete, then you will be taken to Duplicator packages screen. Download both the package and installer files on your computer.
duplicator-package-installer
Next, you need to open your FTP program and connect to your new site. Make sure that the root directory, or the directory where you want to copy your website is completely empty. Upload the installer.php file and your package zip file to the new site. After uploading the files, simply launch the installer.php in a web browser. You can access it by going to http://www.newsite.com/installer.php
install-duplicate
The installer will ask you to provide database information for the new site and check the box for Table removal. Make sure that the database you are using is empty, and does not contain any data that you would need later.
Read the Warning and Notices section and check the box that says “I have read warning and notices”. Next click on the “Run Deployment” button. The duplicator installer script will extract the zip package, install your database from old site, and install WordPress with your themes and plugins. This process may take some time depending on how big your site is. Once the installation is finished, the plugin will show you the update page.
On the update page, you will need to update your URLs. The duplicator will try to guess your old and new URLs on its own, but you can also enter URLs manually and click on the Update button. The plugin will then replace all instances of oldsite domain name with newsite domain name.
update-urls
Once the entire process is complete, the Duplicator plugin will remind you to take the post installation steps. The first step is to re-save your WordPress permalinks. Login to your new site’s WordPress admin using the same username and password that you had on the old site. Go to Settings » Permalinks in your new site’s WordPress admin and click on the save button.
After that delete the installer.php, installer-data.sql and the installer-log.txt files from your root directory using FTP.
Lastly, check your new website for broken links, missing images, posts and pages. Please make sure that everything is working and all the functionality is there.
Now you have successfully moved WordPress to a different domain name, but the process is not done. We still have to add the proper 301 redirects and notify the search engines to keep all your SEO rankings.

Step 3: Setting up Permanent 301 Redirects

Setting up a permanent 301 redirect is very important for both SEO and user experience. This allows you to redirect users and search engines to your new site. In other words, whenever someone lands on one of your old posts or pages, then they will be automatically redirected to your new site.
To setup a permanent 301 redirect, you need to connect to your old site using FTP and edit the .htaccess file. This will be located in the same directory as your wp-includes or wp-admin folder. Open the .htaccess file and paste the following code at the very top:

#Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(.*)$ http://www.newsite.COM/$1 [R=301,L]

Note: Replace newsite.com with your domain in the above code.
Once you have applied these changes, then visit your old site. It should automatically redirect you to the new site. If it doesn’t, then it means the redirection is not setup properly.

Step 4: Notifying Google About the Change

Login to your Google Webmaster Tools account to submit a change of address. Basically click on your site and look at the left menu under configuration. This allows you to notify Google about your new site and the transfer. Yes, you have to verify your new site, so go ahead and do it.
changeofaddresswt

Step 5: Notify Users

While the 301 redirects do the job, it is always good to make a public announcement about the migration. You can do this by simply writing a blog post on your new site. This can be helpful in a lot of ways. First and foremost, your users are more likely to remember the new domain once they read about it. Second, you can ask your users to let you know if they see any bugs. This can be very helpful because you alone cannot test your site in all different type of browsers and system environments. Besides it always help to have a fresh pair of eyes looking at it.
We hope that this tutorial helped you move your WordPress to a new domain name. If this tutorial helped you, then please don’t forget to share it. We appreciate all retweets, likes, and +1s. Lastly, let us know about your experience and/or questions by leaving a comment below.

]]>
https://www.nexyta.com/migrate-wordpress-old-new-domain-without-losing-seo/feed/ 0