Last Updated on July 23, 2021 by Amit

Change WordPress domain

Do you want to change your WordPress blog domain but don’t know how to do it?

Don’t worry ! I will help you with the domain change process.

In this article I will show you how to change WordPress blog domain without loosing the search engine rank and without effecting the performance of your WordPress blog.
Just read this article carefully and follow all steps mentioned here.

Changing WordPress blog domain

A domain change on your WordPress blog or site can put some negative impacts on your domain SEO if it’s not done carefully.

But if you do it with precautions and follow all the steps involved in domain change process then your WordPress blog won’t face any SEO issues .

You will get the same rank for your new domain in SEO as your old domain.

Whether it’s http to https or non-www to www URL change , you need to add the new URL to your WordPress blog.

Follow these simple steps to change your WordPress domain (WordPress settings)

First of all, you need to add your new domain to your WordPress , to do this , simply follow these instructions :

  • #1) Go to your WordPress dashboard and click on settings/general , the following interface will show up on your screen :
    WordPress settings genral
    Replace both WordPress address (URL) and Site address (URL) with your new domain URL .
  • #2 Add an old domain to new domain redirect in your WordPress htaccess.
    You need to 301 redirect your old domain URLs to the new domain in order to maintain the SEO and avoid any SEO issues. To do this open your WordPress/.htaccess and at the top of the file add the following redirect :

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^(www\.)?olddomain\.com$ [NC]
    RewriteRule ^ https://newdomain.com%{REQUEST_URI} [NE,L,R=301]

    Simply replace the example domain names in the code above with your domains and save the .htaccess file.
  • #3) Install Velvet Blues Update URLs plugin on your WordPress blog.
    Velvet Blues Update URLs WordPress plugin
    You will need this plugin to update your old URLs with new in your WordPress posts.
    This plugin will change all your old URL links with new one in the database.

    After installing this plugin, you can access it from Tools menu on your WordPress dashboard :
    WordPress tools dashboard "Update URLs"

    Go to the update URLs menu, and add your new and old URLs into the input fields :
    Updated WordPress URLs

    Be careful, double check the URLs before adding otherwise if you add a wrong URL then you won’t be able to fix that. Always do a backup of your WordPress site data before using this plugin.

After completing all these three steps. Your wordpress site will be able to use the new domain. You will be logged out of your WordPress dashboard . Log in again and you can see the new domain in your WordPress blog URLs.

Inform Google about the domain change

This step is optional but important if you care about the domain SEO.

You can do this simply by using your Google search console account.
Both the old and the domain should be varified property in your Google search console to proceed with this step.
If you haven’t added your new domain yet , add your new domain to the search console and varify it.
To tell Google about the domain change,
Go to your old domain property on search Console and click on settings . You will see a link “Change of address” :

Webmaster change of address

Click on this link to go to the page where you can map your old domain to the new one :
Search console domain change
Select the property you want to map your old domain to. In this case you can select your new domain property and click “Update and validate” button. That’s it.
Search console change of domain

Google will now update your old domain with the new domain for all the indexed URLs.

I hope this article was helpful and it helped you change the domain on your WordPress blog. Thanks for reading!

How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate this post.