Best Way To Redirect Domain Name With Minimal SEO Impact [2021]

Redirecting a domain name to another domain is simply pointing your old domain name to the new one. It’s more like an email forwarding to another person.

Literally, its a way of creating a procedure that all the visitors of one domain should be redirected to another domain name. It can be a new domain name or it can be an old domain name as well. All it required to two domains to redirect from one another.

Why Redirect Domain Name?

There are a couple of reasons to conduct a domain name redirection and your reason should be one among this list. Just try to find out all the possible reasons that may cause redirecting a domain to another.

Reasons For Domain Name Redirection

  • You may want to create a better version of your brand.
  • You may go under some kind of brand name violation (unknowingly) and later want to change it.
  • Your previous domain name is too long and just wanna short it out.
  • You have recently found an SEO optimized name which is more related to your niche and ability to create a huge impact on traffic.
  • Or you might be doing some practice with your website how to migrate from one site to another with minimal SEO impact.

While any one of these can be a reason, the solution is going to be the same for WordPress sites. There are multiple solutions as well and each of them can be fit to solve the problem. Externally, there may be some advance reasons for what you need to take advance steps during redirection.

Few Things To Note

Again for different platforms, redirection procedures can be different. In this post, I will only write about some of the safe processes to apply domain redirection on the WordPress website. But before looking for the procedure you need to make sure that you are going to use all the same resources as posts, page, and images in the new domain.

If you don’t want to use previous resources on the new website then only 301 (permanent) redirect domain name will solve your issue. But, in case you would like to hold all the resources inside the new domain name, migrating the whole website will solve the issue.

# Remember that to migrate website or changing domain name it’s recommended to have both the address on live (available to visitors)

To migrate your WordPress website safely without missing any internal links use “all in one wp migration” plugin.

You can watch this video to follow the steps as well.

Steps To Redirect Domain Name To Another Domain Name

As I have said there are various way to do it, let’s have a look at the safest ways I have ever did it without facing any problem.

1. Migrate Your Website To The New Domain Name

The first part of domain name redirection starts with website migration. The best tool for a safe migration process is all-in-one wp migration. Install the plugin in both domains and activate it. (To use this plugin both domain should have WordPress installed)

Now from the old WordPress site dashboard go to “all in one wp migration” and click on export and select file.

After exporting the website now go to the new domain (WordPress and all in one plugin must install there). Click on Import and select the downloaded file from your local drive and upload. (It may take some time depending on your server speed and file size)

#Use a better hosting for WordPress.

Sometimes, you may get an upload data limitation error but installing this limit extender plugin will solve the issue.

Once the uploading is done you need to login to your WordPress dashboard in the new domain using the old password and user name. After login, change the permalink structure like the previous domain.

This migration will do almost 90% of the work of domain redirection. After migration, all your internal links will be assigned with the new domain name and hence you don’t need to update them manually. It’s a big time saver.

2. Redirect Domain Name With The Help Of [.htaccess] File

Now you need to redirect the domain name of the previous website to the new domain so that whenever someone comes to your old website he will be redirected to the same page on the new website.

It’s really essential because neither you want to show a 404 error to anyone nor take them to a different page with unrelated content. If your old website had lot’s of pages ranked on Google then applying 301 redirections to the same new page is very beneficial. It will save your rankings and produces almost equal traffic to the new domain.

Don’t you think it will bring quick growth to the new website? In my case, it happened. The new website grew even quicker than I thought.

So to apply the redirection using .htaccess file go to your default file manager from hosting or use any FTP clients. Find the .htaccess file. If hidden go to settings and click on SHOW HIDDEN FILES.

Now edit .htaccess and add the following code. (change your site URL in the code)

Redirect 301 / https://newsite.com/ 

Alternative code:

RewriteEngine on 
RewriteRule ^(.*)$ https://newsite.com/$1 [R=301,L]

Both the code should work. If one is not working well try another one.

3. Let Google Know That You Have Migrated To a New Domain

Now, this is a very important step if you want your new website to grow quickly and have very less SEO impact on site due to the migration + redirection. You need to tell Google that “Hey, I just changed my domain name to a new one. So please, prefer to index and rank my contents from the new website instead of the previous domain.”

When you do that Google will get informed and they will start there process to indexing + ranking the new domain for previously published articles or blog posts.

To let Google know, you must have verified both the domain name in your search console. If you don’t know how to verify your domain name check this article.

The change or domain or URL tool is not available in the new version of webmaster tool. You need to access the old version of Google webmaster. It’s easy to access, all you have to select the “old version” on the left bottom of the webmaster dashboard.

In the old version click on the gear icon on the top right corner and select “change of address

change-of-address-redirect-domain-name

Now provide the information Google is asking from you and click on submit. Once done they will start the procedure to change your domain records in their database.

For 3-4 days your old domain ranking may disappear from search engine but don’t worry all your ranking will be regained with your new fresh domain name.

Applying these steps to redirect a domain name to a new one is really essential in case of WordPress site and can save a lot of time, energy and effort.

If you have any query regarding this post please don’t hesitate to ask. As I have experienced bad situations of migration and redirection so I can help you more with this. Hope this article help you.

Read More

How to Migrate Your Domain Without Losing Google Ranking?

There may be certain times when you need to migrate your online business in terms of hosting and domain name. There may be a couple of reasons such as:

  1. At some point, you may realize that the current domain is not the right domain for your website.
  2. You could be facing some issues with your branding.
  3. Or you could just want to give yourself a fresh start.

In such situations, most people find it difficult to migrate their website to a new host or using the same host while assigning a new domain name to it. Of course, it is a little bit complex task. Moreover, migrating your domain name could wipe out all the hard work you have done for your site’s SEO.

Most of the independent webmasters or businesses use WordPress nowadays. It’s efficient, easy and powerful as well. So in this article, I will go through step by step tutorial “how you can migrate your domain name easily”.

In the meantime, we have another crucial point to remember that we do not want to lose our search engine rankings + traffic while performing a migration.

So, before proceeding to the tutorial part let me tell you a few things that you should expect and follow during this migration process.

  • Do not change your URL structure “permalink” so frequently. Changing your site URL structure will have a bad impact on your SEO since once you change the address people will no longer find the page from a search engine or any backlink.
https://lh3.googleusercontent.com/_EaPURSG0aLxcR3Pcr4WdB3uODUUxBZNW1x0HGQl5lWGdD911OSs10CgZPfiFBVCMs-DxhSnA1R6s2alQ6ak8frw-8F1L6_1jsclcOralqoa9Tf7fhz7coLJQ8C6MgtSQ6js24GF
  • You should expect a drop in your current traffic for the first few days or maybe a week. The reason is that all your new posts and pages will be crawled under a separate name which will initially have a low domain authority of course.
  • Make sure you do not delete the previous domain and keep the website live on that domain too. 

These are some points that you should take care of while migrating your domain name.

Now I am assuming that you have already bought a new domain name and assigned it with hosting nameserver.

From here you will start the process of migration so keep tracking your progress step by step.

#1. Backup Your Website’s Content

Backing up your site contents is very necessary. It will be beneficial for you because while migrating the domain name of your site if anything goes wrong you can immediately fix it by replacing with the backup files.

There are several ways to backup. You can use the hosting default quick site backup option or you can use a WordPress plugin like “all in one migration” or “updraft”.

I prefer to back up the “public_html” folder directly from the host and the database of the website as well. You can apply any method whichever option looks sweet to you. All it matters to have a backup of the site to prevent any data loss during the domain migration process.

https://lh5.googleusercontent.com/Dp66Wl2Pn0ZJbeuEw7Nl7Z8fKjfwMi4wq491CNlVd0tSH09pDP8aj05uP4oNriymuTEz71TSgDAM_qOz6qZbfH0UDeVO-OqpBfSiETEG_nlMZVkKnU-L6kHeSSoDMuCb4W4jrGwC

* * Depending on the hosting these options may appear different but the work is the same.

#2. Upload the backup contents into your new hosting

Once you have completed the downloading of the backup file, now install WordPress in the new hosting. After installing WordPress open the file manager of new hosting. You can use the default file manager or any FTP client.

Now find the “wp-content” folder from the backup file > extract it and make a separate ZIP file.

Go ahead and upload that zip file into your new site. During the uploading process you will get a notification for replacing the existing contents. Click “replace” and your site content will be uploaded into the new site in a couple of minutes.

In the next step, you will need to upload your previous database into the new one simply by following the “import” technique. Read this guide to know how to do it.

Once your database is updated you can access your WordPress dashboard on the new address once you perform the later part of this tutorial.

#3. Update your site’s new address

Now it’s time to update your website address. First, go to Settings >> General.

Place your new domain URL in both the “WordPress address” and “Site Address”.

https://lh4.googleusercontent.com/7aGw-66hBJdrGhMjJ-rrED-OVgxcDyThCbvv3ucUkKQ3l5ifxcxsyRiRHVECvt8tb9md2iFaKn4wcgg-qzPVQb28uvBRmslT05Kgl6BA3yhCTJy0s98u1S-VvC8ZXh0WL5b3xEND

** To connect your host with the domain name you should make sure that you have updated the name servers.

Once you have changed the URL in general settings click on “save”, you may be required to wait ⅔ hours so for domain name connection. After ⅔ hours your domain nameserver change will propagate worldwide.

#4. Update the links in the website \

Once you have updated the new domain name in your WordPress, the next step is to update all kinds of internal links that are pointing to the older domain name. 

You need to replace all the links in CSS, Javascript, or maybe the links of your content. It can be a difficult task to do manually so you can take the help of a reliable WordPress plugin or WordPress command line.

One such plugin is Better Search and Replace. To use this plugin first install it from the WordPress repository.

  1. Install Better Search and Replace plugin.
  2. Go to tools > better search and replace settings
  3. Type your old site URL address in “search for the box”.
  4. Type your new site URL in the “Replace with” box.

    https://lh5.googleusercontent.com/gsbISNsBZHNEQdanEUmHQgMRRij4p7A7k8yl7zxexAJxzx2-f_3IoI-gI1R760vqp-4V4WZ62u2N1NbKfx5MxQckre6HsVu8rLBS5Ou4AACg6VEnAfH1n0yrPVNWx8Y00ViJO92q
  5. Select all kinds of tables.
  6. Check Replace GUIDs
  7. Check Run as a dry run.
  8. Run search/replace.

#5. Applying 301 redirects to the links

After updating the internal links of your site, the next step is the most important step in migrating your WordPress website’s domain name. Adding the 301 redirect means directing the traffic from your previous domain name to your new domain name.

** And this is the reason why you should not delete the old website while setting up the new website.

If you skip this step, you will ultimately lose all the backlinks linked with your website. This will obviously put a negative impact on the SEO of your website. Furthermore, if the visitors will click on the previous links on that website, it will drive them to nothing hence eventually generating broken links, generating 404 pages.

You should know that Google takes 404 Errors very seriously. If they encounter too many 404 errors – Google will penalize your rankings.

There are multiple ways to redirect your site links, you can use plugins or do it manually but doing so will be very painful. You can add 301 redirect links by adding them at the server level via htaccess too.

Another great and easy way to add 301 redirect links is with the help of Cloudflare. Follow the step in the image. 

https://lh4.googleusercontent.com/0NvTjgKVb68wZlROaCbj0L0jM1OImCeGM1RvYUpUJoIcPF7uX-VW0ZueaHBtbyILtD4nV-7VFWOir_wxLEanx0nqlZMXkI_csWUaYA6EWQ2V6awh3q_0nRXCPHGPEBI2LYIh9F2g

Inside Cloudflare, create a “Page Rule” where each URL that matches “yourolddomain.com” is 301-redirected to “yournewdomain.com”.

#6. Update Your Website in Google Webmasters Tools

Once you are done with the redirection it’s time to inform Google that you are migrating to a new website. You can do this using the webmaster tool or currently known as the search console. You will need to send a request to Google regarding the change in the address of your previous domain. This way, Google will recognize that you have migrated to a new domain and will give you some SEO benefits.

** I am assuming your previous site as a verified property of the search console. If you have not verified yet make sure you do it.

First of all, you will need to verify your new website as a property. Once your site is verified go to change of address tool and select your previous website.

Once you have selected, in the next step you will need to pick your new site from the drop-down menu and then scan whether all the 301 redirections are working properly or not.

After that, the tool will confirm both the sites as verified and allow you to submit your new domain as a replacement to the old domain.

https://lh4.googleusercontent.com/tTV5sq4j-HD3oMxaQeNGqK5HXJWk1aj-VN85y4A16QzYWEvTTpgObs0JKZ6_3Xg7bot59D_on1e9DxQoMPMSHfcRqkJF4o4XKWt_FElVJ9iHytSMdbx5HC7BGivIMzgXcdZ4C6PL

While doing so, if you use Google Analytics for tracking your site traffic then you should also create a new property in the analytics tool and connect the new domain with analytics.

#7. Do not forget to submit the sitemap

After submitting your domain change request, you will need to submit your new domain’s sitemap. Once the domain is verified in the webmaster tool you can easily submit your sitemap.

Having a sitemap will provide you additional SEO benefits. You want to keep updating the sitemap of your site too. A sitemap will support your website to get crawled quicker.

After the change of your domain name, it’s time to pay attention to minor details. Update the primary information present in all the plugins associated with your site. And, make sure to track the number of pages with 404 errors and fix them as soon as possible.

Final thoughts:

Following the above-mentioned steps, you can effortlessly migrate the domain name of your website without hurting the SEO of your site. Although we would recommend not changing the domain name unless it’s utterly essential.

Cheers…

Read More