You just finished moving your whole of WordPress website from one domain to another, but now what next? Are you done with the job? The answer is NO as there is still an important task pending. You have to notify Google and other search engines to keep all your search engine rankings. This can basically be done in two steps process – setting up a permanent 301 redirect and notifying Google about the change.
Setting Up Permanent 301 Redirects
Setting up permanent 301 redirects is an important factor both in terms of search engines and user experiences as it will allow you to redirect your users and search engines to redirect to your new site.
Steps To Follow:
- You need to connect to your old site using FTP and edit the .htaccess file.
- Open the .htaccess file and paste the following short code at the top of it:
RewriteRule ^(.*)$ http://www.example.COM/$1 [R=301,L]
Where, example.com must be your own domain name.
- Once done, visit your old site again.
- It should automatically redirect you and your visitors to the new site.
- If in case, it does not, then you have to go through all the steps above and check what you missed.
Photo Credit: Flickr/Search Engine People Blog