How to change domain name without losing seo for your wordpress website
There will be times when you want to change your domain name and it could be due to the numbers of reasons. People changes their home’s then why not domain names.
The major difference between changing home and changing domain name of a successful website is when you change your home you probably change it for good but when you change the domain name, you may lose all the traffic from SEO ranking you have earned with your old domain name.
fortunately, there is a way by which you can change domain name of your website (Domain Name) Without affecting your current ranking in any search engine. (You may also like reading : Google website ranking factor & Google Search Algorithm ) But when it comes to WordPress things get with complicated but with the right care and some technical knowledge you can do it In few hours.
in fact, I’m in the process changing my personal website domain name to new domain name from www.shashi.space to www.theindianguy.in and I am writing this article, as I proceed with Changing of the domain name for my WordPress powered website
Things I / you required before changing your domain name for your WordPress site:
- Your new domain control panel.
- WordPress admin access.
- Netspaceindia client login detail or if you have WHM root or reseller password.
- Google Webmaster tools access With your old and new domain properties are verified. ( this article about how to verify your property in Google Webmaster explain everything in details)
Once you have about things in orders we can proceed ahead.
- Change your domain name server :
You shall first change your new domain name server to your hosting provider. in my case I am using a plan from our Linux shared hosting server with nameserver ns7.netspace india.com and ns8.netspaceindia.com, So i logged into our panel and updated nameserver of www.theindianguy.in to ns7.netspaceindia.com and ns8.netspaceindia.com.
We have details steps mentioned here about how to change nameserver of your domain name but in case you are not our customer you can refer your provider knowledge base for the same.
- Audit your old domain name and website :
before you want to change your domain name for your website I will strongly recommend auditing your website.
- Make a list of all the caves in which you are ranking
- ensure that your old Domain names what’s crawled by search engine
In my case, www.shashi.space is the relatively very new domain name. But for this how to article I have taken a snapshot of one of my long tail keyword as an example. We will check the status of ranking after changing domain name to new one.
- Change domain name in WordPress :
Login to your admin area of your WordPress website setting >> general setting
You will notice your old domain name mentioned under WordPress Address (URL) and Site Address (URL) as seen in the screenshot below:
Change those two fields with your new domain name, in my above case www.theindianguy.in
- Update your hosting setting :
- If you have Linux Reseller Hosting plan:
If you are Have Linux Shared Reseller Hosting plan or root WHM access, login into WHM >> List Account >> Search For your old domain (shashi.space) >> Click on + icon >> Modify account (As shown in screenshot below ):
In the primary domain name modify shashi.space (old domain name) with theindianguy.in (new domain name) and click save
Now just go to your domain name (theindianguy.in) this should open now.
- For Windows Reseller Hosting Plan :
Login into Plesk panel for your windows reseller hosting, Go to Home > Subscriptions > subscription_name > Websites & Domains > main_domain_name
Click on Hosting Settings tab and specify a new name for the domain.
- For Shared Hosting :
If you are using any of our shared hosting services, like Linux shared hosting or windows shared hosting then you can contact us by opening a ticket with us and we will change a those setting for you for free. If you want to know about How do I create and manage support tickets from client area then you must read here.
In case you are not our customer, Then you can contact your hosting service provider and they should be able to help you with this.
- If you have Linux Reseller Hosting plan:
- Change Domain property of your old site :
Congratulation, By now your website should be live with new domain name but things are not done here yet. Login into your domain panel of your old domain, and apply domain forwarding at domain level.
Most of the domain provider charge some fees for this service but at netspaceindia.com you can avail domain forwarding for free.
Make sure following things :
- URL Masking is switched off, disabling URL masking will ensure that your visitors see the the destination URL (theindianguy.in) and not source URL (shashi.space)
- Switch on Sub Domain Forwarding Enabling Sub Domain Forwarding will forward a request made to http://subdomain.shashi.space to http://theindianguy.in/subdomain/
- Enable Path Forwarding Enabling Path Forwarding will forward requests made to http://shashi.space/some/path to http://theindianguy.in/some/path
- Tell google about it:
Now it’s time to update google and tell them that you have moved. Login into google webmaster >> select your old property (old domain name, shashi.space) and click on setting button on the right top side of the page (as shown in the screenshot below), Click on change domain name.
and then follow the four easy steps mentioned in next page, which will look like this :
additionally, you will also get notification from google for domain change request submitted by, in your registered email address of webmaster.
Ok, here are we are done. Enjoy the move. Total time taken for these exercises was 30 minutes. I Will update this article in few days for the updated URL change in the search engine and compare with the audit I did on step two.
Feel free to ask any related question in the comment and I will try to answer as soon as I can.