How to change the domain name on WordPress?

How to change the domain name on WordPress?

Posted on

So that you’ve determined to alter your area. There could also be many causes for this. Attributable to a change in advertising and marketing technique, is rebranding needed? Or you might be simply bored and need to really feel a breath of recent air. Altering the area impacts many areas of enterprise: advertising and marketing, gross sales, web optimization, and general it’s fairly an enormous enterprise. However technically talking, the method is kind of easy, particularly for those who use WordPress.

Though it isn’t subtle, it’s value remembering a couple of essential factors. You don’t need to complicate your life sooner or later.

Initially, it’s good to know {that a} good high quality internet hosting firm will do the operation for you freed from cost. That’s why selecting the best WordPress hosting is of paramount significance. Nonetheless, for those who use the companies of a supplier who doesn’t care about their clients or it’s good to do it your self, we’ve ready a information that may show you how to change the identify of your web site.

Preparation to alter the area identify

Purchase a brand new area

It’s apparent. To vary the area you will need to entry its administration panel.

Change DNS

Make the suitable settings within the area administration panel. Your new area should level to your internet hosting. It’s essential to accurately arrange DNS servers, directing the area to the listing with WordPress. You should know nameservers. Search for them on the web site of your internet hosting supplier.


Wait till the brand new DNS setting can be carried out. It takes a while to disseminate details about the area on the Web. Generally it takes an hour or three, however typically it will probably take 24 hours. If you’re impatient, you’ll be able to examine the brand new area deal with occasionally. Maybe the registrar will introduce modifications earlier, there isn’t any rule for that.

Carry out an extra database backup

Sure, we write about backups each few articles, however it’s a vital problem. UltaHost does free backups frequently, however along with our backups of your server, it’s worthwhile so that you can do them your self. You need to use the free WordPress backup plugin. The modifications you make could cause hard-to-predict issues, so a backup is important. 

Particularly now that you’ll be making modifications to your WordPress configuration, it’s good to again up your self. You possibly can delete it after a while when your area will work correctly on the brand new deal with.

Altering a website in WordPress

Now you’ll be able to go to the precise job. Beneath you can see the instruction to alter your area within the WordPress dashboard:

how to change domain name in wordpress
  1. Log in to the WordPress panel;
  2. Go to the “Settings” tab;
  3. In each fields – WordPress deal with (URL) and Web site deal with (URL) – enter a brand new, full deal with. If the area has an SSL certificates put in and enabled on the server, enter the https:// prefix, if not, enter http://;
  4. Save Modifications.

After performing this operation, you’ll be logged out. You probably have carried out all of the factors in our information accurately, logging in to WordPress will happen below the brand new area. Within the case of any error, your WordPress will almost certainly cease working.

Did one thing go flawed?

If this occurs, you’ve got a number of choices:

  • You possibly can restore the beforehand talked about database backup and check out once more;
  • You possibly can change the area identify within the database to the outdated one manually – for this, it’s good to:
    • Log in to the database panel (phpMyAdmin),
    • Enter the desk named wp_option (“wp” is the default desk prefix, it may be totally different),
    • Within the option_name column, discover the rows named siteurl and residential, after which, within the option_value column, click on the area identify from the beforehand talked about rows of the desk. Delete the earlier deal with and enter the brand new area deal with preceded by https:// or http://;
  • You possibly can ask the internet hosting assist for assist.

Altering the area and web optimization

When altering a website, it’s value desirous about Google and the web optimization place of the present area. Altering the area identify for Google is like creating a brand new web page. The brand new area should rebuild its fame in search outcomes from scratch.

So how do you take care of it? Observe these two steps:

  1. Arrange a 301 redirection of all of your addresses to their new counterparts and ensure they’re working precisely.
  2. Log in to Google Search Console (or create an account if you don’t have already got one) and go to the “Settings” tab, the place you can see the “Change deal with” subject. Observe the directions. It can unequivocally inform Google that you’re altering your area.

You probably have Google Analytics linked to your web site, you additionally want to alter settings. Go to the Google Analytics web site and choose the gear icon within the decrease left nook. It can take you to the account administration. Within the listing of obtainable settings choose the “Service Settings” tab. Right here you’ll be able to change the URL. Choose the suitable prefix (http or https) and enter the brand new area. Bear in mind to avoid wasting your modifications.

In numerous locations on the web page, you’ll have inside hyperlinks. Making modifications to your WordPress settings doesn’t replace these hyperlinks. I like to recommend utilizing the Higher Search Change plugin for updates. It permits you to scan the database for the chosen phrase and change it with one other. Use this mechanism to seek out all of your outdated area addresses and change them with new ones.

Better Search Replace

Set up the plugin and go to the “Instruments> Higher Search Change” tab within the WordPress panel. Within the “Search / Change” tab, fill within the following fields as applicable.

  • Seek for – enter the area deal with;
  • Change with – enter the brand new area deal with.
  • Choose tables – choose all tables;
  • Run as a dry run – uncheck it.

Verify that you’ve entered the area addresses accurately and click on “Run Search/Change”. The plugin will search the WordPress database, seize all situations of the outdated URL and change them with the brand new web page deal with. As soon as all addresses have been up to date accurately, disable the Higher Search Change plugin and take away it from WordPress. The modifications are everlasting, so there isn’t any level in protecting it put in.

In case you loved this text, then you definitely’ll love UltaHost internet hosting platform. Get 24/7 assist from our assist group. Our powered infrastructure focuses on auto-scaling, efficiency, and safety. Allow us to present you the distinction! Check out our plans!   

offshore vps