How To Change Domain Name In WordPress? (Solution)

Change a domain in WordPress

  1. Log in to WordPress.
  2. Click on the Settings menu.
  3. Select General.
  4. Update these fields with the new domain name: WordPress Address (URL) Site Address.
  5. Click Save Changes.


Can we change domain name in WordPress?

Change the Domain in WordPress Log into your WordPress account, and from the dashboard, go to Settings > General. Change both the WordPress Address and Site Address to your new domain name, then save.

How do I change my URL on WordPress?

SImply login to your WordPress dashboard and go to Settings » General. Here, you can change your WordPress site URLs in the ‘WordPress Address’ and ‘Site Address’ boxes. For most websites, these will be the same URL. After that, click the ‘Save Changes’ button to save your URL changes.

How do I change my domain name?

Click “Manage” under the domain name you currently use for your website. Click “WebsiteBuilder” in the left-hand menu. Click on the three dots to the right of “Settings” and click “Change Domain Name.” Select your new domain name from the drop-down menu.

Can I change my free WordPress domain name?

Open a web browser, and log into your WordPress Dashboard. Once in the General Settings, locate the WordPress Address (URL) and Site Address (URL). Update these to the new domain name. Then scroll to the bottom of the General Settings menu and click Save Changes.

How do I remove my domain name from WordPress?

In List view, click the domain or its gear icon on the right-hand side. On the left pane, click on WordPress under Site Builders. On the WordPress page, look for the Settings card and click on the three-dot icon. Click Delete WordPress.

How do I change my domain name on WordPress Bluehost?

Click the “Settings” link on the left side. Using the “Select WordPress” dropdown, choose the WordPress site that you want update the URL’s on. In the “Site URL” box, enter the new site URL. Click the “Set Site URL” button to save the change.

How do I change my domain siteground on WordPress?

To initiate it, go to your Client Area > Websites > Website Details. Then, click on the kebab menu and select Change Primary Domain. Type the new domain, read carefully the changes that will be made, and click Confirm.

Is it easy to change domain in IT industry?

tldr: Yes it is difficult to switch domains, because of various reasons. But with effort, time, patience and practice, it is possible. Few slightly easy, like switching from java to. NET.

How do I register a domain name?

Here are the steps for buying and registering your domain name.

  1. Choose a Reliable Domain Registrar.
  2. Find a Domain Availability Checker Tool.
  3. Choose the Best Domain Name Option.
  4. Purchase Your Domain Name and Complete Its Registration.
  5. Verify Ownership of Your New Domain.

How do I add my domain name to WordPress?

Adding a Domain to an Existing WordPress Site

  1. Log in to the Account Control Center (ACC)
  2. In the left sidebar, click WordPress.
  3. In the drop-down, click List Sites.
  4. Click the name of the site to which you would like to add a domain.
  5. Under the main heading, click the Domains tab.
  6. Click the Add Domain button.

How To Change Your WordPress Website’s Domain Name

We’ll mention straight away that changing your domain name on the spur of the moment – especially on a well-established WordPress website – is not encouraged. When it comes to changing the primary URL of a website, there are genuine reasons to do so, and if the situation calls for it, you’ll want to make sure the work is done correctly.Fortunately, the procedure is fairly straightforward if you’re only altering the principal URL of your website. It will take you a few minutes to make a few changes in two distinct places, but each will be a breeze to deal with.This piece will look at how to change your domain name within WordPress, as well as some important recommendations for doing so properly.

How Do You Change Your Domain Name?

As previously said, changing the domain name of your WordPress website is not something you should do lightly. However, if you do find yourself in this circumstance, the procedure is straightforward and consists of only a few steps:

  1. Obtain access to your WordPress dashboard and modify your URL in theSettingsGeneralscreen
  2. Ensure that yourwp-config.php file is updated to reflect the changes
  3. Ascertain whether or not the domain change has been properly executed.

The procedure itself is straightforward, albeit there are certain parts that need a little technical expertise. We’ll go over them in more detail in the next parts, but don’t worry, we’ll lead you through each step.

Changing Your Domain in WordPress

Before you delve fully into the process of changing the domain name of your website, you’ll want to keep a few things in mind first. A little amount of planning is required to ensure that the process runs as smoothly as possible. The failure of a single page on your website might bring the entire site down, but preparing your resources and expertise before you begin can help you avoid such situation. Consider the following scenario: you’ll want to be sure you have a complete backup of your website before you do anything.

  1. In addition, some of these actions will necessitate the usage of a File Transfer Protocol (FTP) client.
  2. Although it is simple to use, there is a learning curve associated with it.
  3. In addition, you’ll need your server credentials in order to log in through FTP to your account.
  4. At the end of this section, we will assume that you already have a domain name acquired and that you have made it ready by directing it to the appropriate nameservers.

How to Change Your Domain Name

Let’s get down to business now that the preliminary work has been completed. The following are the three actions you’ll need to take in order to change the domain name associated with your WordPress website.

Step 1: Change Your URL Within WordPress

The first thing you need to do is physically alter the URL of your site inside WordPress. This phase, on the other hand, comes with a word of caution. The back end of your website will not be available once you have saved your modifications until you have finished the remainder of this procedure. Starting with the GeneralSettingsscreen, log into WordPress and follow the instructions: On this screen, you may configure the global settings for your WordPress website.

The WordPress Address (URL) and the Site Address (URL) are the fields that we are interested in: Simple enter the new URL into each of these fields and click on Save Changes to update your website’s URL. As previously said, this will cause your website to be unreachable for a short period of time.

Step 2: Set Up Permanent Redirects and Notify Search Engines of the Change

This final stage is more of a ‘clean-up’ task than anything else. Even if you are successful in changing your domain name, you will still have a large number of links pointing back to your old address across your content and throughout the web at large. Fortunately, you have the option of redirecting those links to your new site indefinitely. Accessing your site through FTP and looking for the. htaccessfile will be necessary in order to complete this task. The following is yet another WordPress configuration file (which you should save to your desktop as a backup before you make any changes).

Following that, the final step is to notify Google that you have changed your domain name or registered a new domain name.

Get Support for More Common WordPress Questions from WP Engine

A process as significant as changing your domain name necessitates your faith in your website – as well as your hosting provider – prior to embarking on it. WP Engine is the market-leading provider of dependable WordPress hosting, and our support team is second to none in the industry! There are several WordPress-related jobs that you may be unsure of how to undertake, but assistance is available. We have a dedicatedResource Center that is jam-packed with useful information (just like this one), and you can use it whenever you need it at your convenience.

Changing a URL on WordPress

When users come to your site, they will go to the URL provided by The website address is an example of a site address. This paper describes how to modify the examplepart of the address to point to a different destination. Table of ContentsOnce you alter the “example” portion of the URL, the previous address will no longer function. No redirection will take place for visitors to your new website. The previous e-mail address will no longer be accessible for usage.

Changing the title of your site, which is the text that appears in the title bar of a web browser and in the header of most themes, may be done under My Site Appearance Customize and then Site Identity (under My Site).

You have the option of registering a custom domain name.

If you have a custom domain name, you may use it to redirect visitors to your site.

Changing Your Site Address

This procedure will result in the removal of all links to your previous website, as well as search engine results, if you follow these guidelines for changing your website address.

Creating a new site and following the instructions below for Using a Site Address You Already Own, which includes installing a Site Redirect upgrade, will prevent this from happening.

  1. Go to Domains > Upgrades > Domains
  2. ChooseChange site address by selecting three dots to the right of the grey banner that says “Your free address is” from the drop-down menu.

Upgrades Domains allows you to change the site address.

  1. Click on the input form (which has the first portion of your existing site address as a placeholder) and type in the new address you want to use for your site. We will notify you as soon as the new address becomes available.

Site address should be changed.

  1. If the new address is available, selectChange Site Address from the drop-down menu. A screen with further information and cautionary messages will display. Examine the facts thoroughly and determine whether or not this is the course of action you desire to follow.

Confirm the modification.

  1. To confirm, click on the checkbox. Change the website address by clicking on it.

The new URL for your site will be assigned to it once you’ve completed all of the processes listed above. ↑ Section I: Table of Contents

Using a Site Address You Already Own

An address for a website cannot be changed to another website. If you want to add content to a site address that you’ve previously used or that you already own, you’ll have to manually import the content you want to use by following these steps: 1. Create a new site address 2. Add content 3. Click on “Add Content” 4. Click on “Add Content” 5. Click on “Add Content” 6.

  1. Follow the procedures outlined in our Export guide to export the content from your current website. Follow our Import instructions to import the material into your new website using the site URL you wish to use, and then publish it. It is possible to include a Site Redirect to automatically redirect visitors to your new website’s URL.

If you have a custom domain name, which is an address that does not contain the domain name in the URL, you may be interested in connecting or transferring the domain name to your site, as described below. ↑ Section I: Table of Contents

You might be interested:  How To Add A Menu Item In Wordpress? (Solution)

Reusing Other Site Addresses

Despite the fact that the site is no longer operational, we are unable to recycle or reassign previously used website addresses (URLs). As long as the site owner has not requested removal or relocation of their material, we will not relocate or delete a site without the owner’s approval – regardless of how long it has been since the site was last updated.

  • Alternatively, if you discover that an active site address has been registered by another user, you may be able to gain it for your own use provided the owner of the site agrees to transfer the address to you. Alternatively, you may contact the site owner – either through a remark on their website or using an online contact form, if one is provided – to request their permission
  • The site URL will not be transferred to you if we do not have authorization from the site owner or do not receive a response from the site owner. Please keep in mind that we are unable to assist you in contacting the owner of a previously removed website, nor can we supply you with the contact information of website owners.

Because there is a limitless supply of unused site addresses, our policy should not restrict your ability to choose an address. Adding a custom domain to your site ensures that the original ‘’ domain/URL is never accessible to your readers for the duration of the time that the custom domain is being utilized on your site. ↑ Section I: Table of Contents

A note addresses

If your site is on the Business or eCommerce Plan and you have installed custom plugins or themes, your site will be assigned an address instead of address. This address is fixed and cannot be modified by anybody else. Instead, include a custom domain within your website (for example,yourgroovydomain.cominstead

How to Change WordPress Domain Name: A Step-by-Step Guide

02nd of February, 2022 Domantas G.9min (Domantas G.9min) Read When organizations begin to provide new products or services, or when they enter new markets, it is possible that they may be forced to change their business strategy. This involves matching the value of your domain name to the value of your brand. In addition to serving as a legible location, a domain name serves as a representation of your company’s brand. With this in mind, the domain name should be representative of the ambitions and missions of your company.

This post will demonstrate how to accomplish this for a WordPress website.

Why Change Your Domain Name?

In general, most organizations and corporations remain with their original domain name and base their marketing strategy on it. Changing a domain name, on the other hand, is occasionally required. The following are the most often cited reasons:

  • It is occasionally necessary for firms to be rebranded, whether for the benefit of new management or a new target audience. Because a website address is one of the most essential aspects of a company’s identity, it should be consistent with the new brand. If you’re utilizing an industry-specific subdomain, such, you might consider changing the domain extension. Alternatively, a country-code extension such Instead, you may like to utilize a more general domain name extension, such, by switching to another domain name extension. This may be a fantastic concept
  • Create a URL for your site that is easy to remember — the shorter and more memorable a domain name, the better. Perhaps the characters on your former domain were difficult to read. In this instance, you should update the address to something more user-friendly. Generally speaking, a good rule of thumb is to keep it between 12 and 15 characters. If you have more than one domain name, you may choose to combine them together if your previous domain name has already earned authority and you want to keep it. When you merge domains, you might profit from the SEO and link juice of the previous website. It also aids in maintaining consistency in branding and makes it easy to increase your SEO efforts
  • Moreover,

Changing a domain name, for whatever cause, has its own set of advantages and disadvantages. For example, changing the domain name might result in a fall in online traffic and a decrease in page ranks.

This is due to the fact that Google and other search engines will require time to scan and index the information on your new domain name. As long as you follow the finest SEO strategies, you should be able to get higher rankings on search engine result pages.

Pro Tip

Do not put off altering your domain name any longer. The sooner you accomplish this, the lower the chance you will have of losing your SEO values in the future.

How to Change Your WordPress Domain Name?

The methods to change the WordPress domain are straightforward for the most part, however certain chores will include making changes to your website’s PHP code. When done incorrectly, modifying the code might put your website at risk. Before continue with the future stages, make sure to complete the following prerequisites: Backup Your Current Web Address Before making any major modifications to your website, make a backup copy of it. When a mistake happens, you will be able to restore your site as a result of this action.

  • Generally speaking, a WordPress website is composed of two major components: website files and databases.
  • For Hostinger customers who have shared hosting or cloud hosting plans, we provide a one-click restore and backup solution that allows you to back up your WordPress site from thehPanel.
  • VaultPress, UpdraftPlus, and BackWPup are three of the most popular backup plugins.
  • When changing the WordPress domain, you’ll need access to your hosting account dashboard, as here is where you’ll enter the new domain address you’ve created.
  • Alternatively, you may upload your site backup using an FTP client.
  • Once everything is in place, you may upload and handle huge files from a local computer without having to use a web browser.
  • A decent rule of thumb is to create a list of prospective domain names and use a domain checker to see if any of them are already taken.
  • The steps in the following section will lead you through the simple process of changing the address of your WordPress website.

1. Purchase a New Domain Name

Before anything further, go to Hostinger’s domain checker and enter the name of your desired domain. You’ll learn whether or not this choice is available, and you’ll receive some ideas for other domain names, as well as an estimate of their costs.

Domain Name Checker

Check the availability of a domain name in real time. Try contacting the domain owner and negotiating a reasonable price for the domain name you want. If your preferred domain name and its alternatives are already taken, try contacting the domain owner and negotiating a reasonable price for the domain name you want. Using the WHOIS service, you may find out more about the property’s owner, including their phone number and email address. When a chosen domain address becomes available, just add the domain to your shopping basket and go through the checkout process.

There are a variety of registration periods available, ranging from one to ten years in length.

At Hostinger, we provide registration terms of up to three years in length.

Additional privacy protection is available for a fee of $5 per year. Continue by clicking theCheckout Nowbutton to complete your purchase and receive a confirmation.

2. Add the New Domain Name and Upload the Backup

The next step is to incorporate your newly registered domain name into your existing hosting package. We’ll go over the methods to accomplish so in bothhPanel andcPanel in the sections below. Using hPanel as a control panel

  1. Scroll down toDomainsand selectAdd Website from thehPanel’s left-hand navigation bar.
  1. Create a password for your new domain name and enter it in the appropriate field. These will also serve as the credentials for logging into an FTP server. Once you’ve finished, click on “Add Website.”
  1. If you haven’t validated your domain ownership, you will receive a message like this. Simply follow the on-screen directions.

Be aware that changing the DNS (Domain Name System) might take up to 24 hours before the domain is properly propagated.Once this period has passed, your new website address should be added to your hosting account using the cPanel interface.

  1. Log into yourcPanel account and selectDomains-Addon Domains from the drop-down menu.
  1. Log into yourcPanel account and selectDomains-Addon Domains from the drop-down list.
  1. You may create an FTP account for the new addon domain by simply checking theCreate an FTP account connected with this Addon Domainbox when creating the domain. Additional options, such as the login and password, will be displayed as a result of this action. Once you have completed all of the necessary fields, click Add Domain.

Keep in mind that addon domains will not function properly until the proper DNS records are set up. Nslookup commands are one of the most effective ways to search for DNS records on a computer network. Alternatively, you may utilize an online DNS checker to discover the many sorts of DNS records available to you.

3. Copy All WordPress Core Files From Your Old Domain

With the aid of a backup, you may easily transfer all of your website material from your old domain to your new name. This is especially true if you do not switch to a different hosting company. Download your backup file from your hosting dashboard, or copy the contents of your previous domain folder into the new domain folder directly. We’ll guide you through the process of transferring your website content to a new domain using Hostinger’s File Manager in the sections below. Check to be that your addon domain has been successfully added to your account before proceeding with the next procedures.

  1. Navigate to the Files -File Manager section of your hPanel dashboard. Check to see if both domain directories are present in the File Manager.
  1. Navigate to the Files -File Manager section of your hPanel Dashboard. In the File Manager, check to see whether you have both domain folders.
  1. The following pop-up window will appear if you select either of the two options:
  1. Change the domain folder path by selectingChange and entering the path to your new domain folder. According to this example, the directory structure should be as follows: domains/newdomain.tld/public html

For now, if you’re transferring hosting providers, you’ll need to download your backup and upload it using thecPanel’s File Manager or an FTP client. Then, using phpMyAdmin, import your database and make any updates to the WordPress configuration file. This will ensure that both of your websites remain operational.

4. Change the URL and Site Address

It is necessary to replace the existing URL and site address after you have successfully changed your WordPress address. Providing a pleasant user experience for your visitors as well as making it easy for web spiders to discover and index material are two benefits of doing so. There are a variety of methods for accomplishing this, ranging from logging into your WordPress administration dashboard to editing your WordPress database using phpMyAdmin. Let’s take each approach one by one and see how they work.

  1. Log into the WordPress Administration Dashboard.
  2. This may be accomplished by go toDashboard – Settings – General.
  3. Unless you’re creating a dedicated home page for your WordPress site, make sure that both addresses are the same as well.
  4. Due to the use of preset values in yourwp-configfile, such fields may be hidden or grayed out in some cases.
  5. 2.
  6. WordPress’s configuration file (wp-configfile) is normally placed in the root directory of your website; you may access it through the file manager in hPanel.

Alternatively, you may access it with FTP, SSH, or WP-CLI. To demonstrate how to change the wp-config.php file on the hPanel dashboard, we will use the following example:

  1. Navigate to the Control Panel – Files -File Manager
  2. Select the domain folder from the drop-down menu and click Navigate to the File Manager
  3. Find the wp-configfile in the public htmlfolder and save it there. Edit may be accessed by selecting Edit from the context menu. You should replace the following code with your new website’s URL:

define(‘WP HOME’,’ define(‘WP SITEURL’,’ define(‘WP SITEID’,’ define(‘WP SITEID’,’

  1. Insert it into the file and then hit Save/Close to save and close it. The contents of your wp-config.php file should look like this:

In the event that you choose to use an FTP client, the procedure will be nearly identical. Only the FTP account credentials will be required to access the site’s file storage area. 3. From the database, with the help of phpMyAdmin When it comes to updating your WordPress address URL, you may also directly modify the database in phpMyAdmin, which is another alternative. To accomplish this, take these steps:

  1. Select hPanel -Databases -phpMyAdmin from the menu bar. Enter phpMyAdmin by selecting the database where your WordPress files are stored and pressing Enter. Locate the wp-options file in the phpMyAdmin section. To edit the site URL and home rows, choose Edit on the site URL and home rows.
  1. Make sure to replace the old site address URL with your new site address URL and hit Go. Changes will be saved automatically by the system.

5. Reset URL Structure

Now that you have updated your website’s address and URL, the following step is to edit the structure of your website’s URLs. While maintaining the same structure, it is possible that posts and pages may display the 404 error anytime users attempt to access them. This error occurs when the server is unable to get the requested posts or pages due to a lack of available resources. As a result, it is critical to adjust the URL structure of your site’s address in order to make your content available to your visitors.

Please go into your WordPress dashboard and navigate to Settings-Permalinks to complete this task.

This structure, on the other hand, contains no information about your content, making it the least desirable alternative for SEO purposes.

  • Day and name– contains both the complete publication date as well as the title of the article
  • Day and name Month and post name– shows the month and year, as well as the title of the post. Numeric– this method makes use of the post ID written in numbers. Post name– displays the post slug in the URL of the post
  • Custom structure– enables you to change the information that appears in your site URL by using accessible tags, such as author and category
  • Custom structure

Because it’s short and obvious, the post name option is perhaps the ideal URL format for most people. However, you are free to use whatever permalink structure that you choose or require. The system will automatically redirect visitors from your old site to your new URL if you reset the permalinks in your WordPress installation. Replace using a search and replace An alternative method of altering the WordPress URL structure is to use the search and replace command in your database. Replace the value with caution, as these changes will be permanent once they are made.

You might be interested:  How To Edit Wordpress Header? (Solved)

We will demonstrate how to accomplish this with Better Search Replace.

Let’s get this party started:

  1. Better Search Replace may be found in the Tools section of your WordPress admin panel. Add the text string you wish to search for and then the replacement to the Search/Replace field
  2. Then click Save.
  1. After that, pick the database table that has to be modified. In addition, it is possible to pick many tables at the same time. Selecting theRun as dry run?button will allow you to assess changes in your database before committing them to your database. Once everything is in place, click on the Run Search/Replace button.

6. Redirect an Old WordPress Domain Permanently

Create a 301 redirect, which is a URL redirection from your old domain to your new domain, as the final step in the process of changing your WordPress domain name. As a result, your SEO work will not be wasted when you switch to a new site because the redirect will carry over page ranking data. We recommend that you leave your previous domain up and running for a while longer. Users who were not aware of the domain change will be able to access the site as a result of this, and search engines will be alerted to the redirection.

  1. Navigate to hPanel-Files-File Manager and click on it. Select your former domain and press “Continue.” Navigate to the File Manager
  2. The.htaccess file may be found under thepublic htmldirectory. Edit may be accessed by selecting Edit from the context menu. Substitute your new domain name, and then insert the following code:

Options +FollowSymLinks RewriteEngine on RewriteRule (.*)$ RewriteEngine on RewriteRule Using an FTP connection, you may perform this step in the same way as you did with modifyingwp-config.php.


There are a variety of reasons why you might want to alter your WordPress domain name. WordPress, on the other hand, includes URL address options by default. This capability enables you to manually edit the PHP code using a file manager or an FTP client in order to effectively change your domain name or URL. In this lesson, you learnt the procedures necessary to change the domain name associated with your WordPress installation. Here’s a basic rundown of what happened:

  1. Purchase a new domain name and put it on the internet. Insert the new domain name and restore the backup of your website
  2. All of the essential files from your former domain should be copied over. Change your website’s URL and domain name in the WordPress settings
  3. Restore the URL structure to its default state. Make necessary changes to the.htaccess file in order to redirect users and search engines to your new domain.

When it comes to updating your WordPress domain, there are several procedures to do. If you execute it correctly, you will not lose any of your SEO advantages as well. Whatever option you choose, we recommend that you follow excellent SEO techniques to guarantee that your new domain will appear high in the search engine results pages (SERPs). Using innovative ideas and out-of-the-box tactics, Domantas drives the content and search engine optimization teams ahead. He aspires to spread the word about Hostinger to every part of the world, armed with considerable SEO and marketing experience.

How to Change Your Domain Name on WordPress

It might be scary to begin the process of changing your own domain name when there are more than 366 million domain names already registered on the internet, but it is necessary. For starters, it’s possible that you’ll have a difficult time choosing another distinctive domain name. And, if you aren’t sure how to do it right, you might end up hurting your WordPress site’s search engine optimization (SEO) or perhaps losing all of your content. It’s critical to understand all of the stages involved in changing a domain name before you begin, from selecting a new domain name to backing up your website and rerouting web addresses.

Reasons for Changing Your WordPress Domain Name

There are a plethora of reasons why you might want or need to alter the name of your domain. Perhaps your company’s objectives have shifted, and it is now necessary to rebrand. As an alternative, you may want to explore changing your domain extensions, such as, or transferring from a free platform with a requireddomain extension to a premium platform with only your primary domain name. Moving from to, for example, may seem more professional than staying at

What to Do Before Changing Your Domain Name

Before you dive into the wp-config.php or the FTP, there are a few things you need make sure are in working condition.

1. Choose a New Domain

Your new domain name will need to be chosen and registered before you can begin transferring your content. Registrars are plentiful on the internet, and some hosting firms even provide domains for free to their customers.

If you want assistance in establishing your domain, you can take advantage of this free HubSpot course on how to construct yourWordPress website, which includes valuable advice on how to set up your domain name as well.

2. Backup Your Website

When changing to a new domain name, there is nothing worse than entirely losing all of your material that was previously hosted under your own domain name. Although the process might get complicated at times, backing up your website is a quick and simple approach to ensure that your work is protected in the event that something goes wrong. Fortunately, we shall go into further detail below on a selection of plugins that will assist you in backing up your website with relative simplicity.

3. Notify Your Audience

You’ll want to start notifying your audience as soon as you’ve decided on a new domain name so that they are aware that you may experience some adjustments as a result of the transition. Notify them of the anticipated launch date of your newly designed website, and assure them of their ability to access your content throughout this transition period.

How to Change Domain Name on WordPress

Interested in discovering how to alter your primary domain on WordPress? However, by strictly following these procedures, you will be able to complete the process in a smooth and efficient manner.

1. Change the Domain in WordPress

Log into your WordPress account and navigate to the SettingsGeneral section of the dashboard. Change both the WordPress Address and the Site Address to point to your new domain name, and then save the changes to your database.

2. Update the wp-config.php

What exactly is the wp-config.php file? When you install WordPress, this is a critical file since it includes key data and configuration information from your website. You’ll need to obtain your hosting provider’s FTP credentials in order to access and update this with your new domain. Once you have access to the FTP server, navigate to public htmlwp-config.php and then right-click the file and select Edit from the drop-down menu that appears. Essentially, you will see the following:define(‘WP HOME’,’define(‘WP SITEURL’,’Change the value of ‘yoursitename’ to your new domain name, then save.

3. Update the WordPress Database

Navigate to the phpMyAdmin section of your hosting control panel. Locate the wp options section and enter your new domain into the’siteurl’ and ‘home’ fields. To save your work, click Save.

4. Redirect the Former Domain

It’s necessary to make sure that your old website is redirected to your new website, since viewers may still come across your old URL or forget that you’ve switched to a new domain name after you’ve made the switch. It allows them to enter in the old domain and yet land up on your new site as a result of redirection. As set up these 301 redirects, as they are referred to, go into your hosting control panel and select the file manager option from the menu bar. Navigate to the.htaccess folder and select “Edit” from the context menu.

5. Notify Search Engines

Search engines, like Google, include features that allow you to modify the address of your website.

You’ll fill out a short form to tell search engines of the change, which will allow them to send search traffic to your new domain name as a result of the change. Check here to see if you meet the requirements for Google, and then go here to use the Change of Address tool.

WordPress Change Domain Plugins

Do you require assistance backing up your website or redirecting your URLs? There is a plug-in for everything! Here are some common alternatives that can assist you with these duties and others as you through the process of changing your WordPress domain name.


Duplicator is a well regarded WordPress migration and backup plugin that has received several awards. You can effortlessly backup and migrate your website with this application, which is especially useful if you’ll be switching hosts at the same time as your domain change. Duplicator can download your complete WordPress site — plugins, themes, and everything else — into file, which can be used as a backup or for simpler migrations that don’t need any downtime.


The Redirection plugin, which is well titled, makes 301 redirects a piece of cake. It also keeps track of 404 issues to ensure that your website does not suffer in search results as a result of broken links, whether they are connected to a domain change or not. You may discover other causes for redirects in the road, and this plugin enables for conditional redirection.

3.Backup Guard

Backup Guard is still another choice for backups and migrations, as it provides backup and restore capability for the files on your website. The premium edition of Backup Guard will also take care of the process of moving your website from one domain to another, making it a piece of cake for you.

Follow These Tips for a Stress-Free WordPress Domain Change

Changing a domain name, for whatever reason, may be a difficult experience. Even the act of locating a new domain name may be a time-consuming endeavor in and of itself. However, with a little planning and the help of this advice on how to handle WordPress domain changes, you will be able to have your new domain up and running in no time – regardless of whether you do everything manually or use a plugin to help you out. Originally published on December 25, 2020 at 7:00 a.m., and updated on December 25, 2020 at 7:00 a.m.

Change Domain Name in WordPress – The Best Methods

WordPress domain names are used to help people locate and identify a website on the World Wide Web. Consider it similar to the identification you use at work; it is the means through which people may recognize you. As a result, changing a domain name in WordPress – or, in simplest terms, altering the site address – of your website is a tricky subject to navigate. Things are delicate because if they are not done right, things might go horribly wrong. Following the change of domain names, several webmasters have complained that their websites have crashed, lost functionality, and in some cases, have been hacked.

You might have to modify your website address if you want to rename your company, for example.

These are just a handful of the numerous reasons why you might want to alter your website’s URL.

The good news is that, whatever your reason for wishing to change the domain name of your website, there are ways to do it without jeopardizing the integrity of your website. Changing the URL of your WordPress site is covered in detail in this article. So please bear with me.


  1. What is the difference between a domain name, a website URL, and a website address? How to make a change to your WordPress domain name
  • Using the WordPress interface, FTP, or cPanel are all options. Through the WordPress database

Domain Name, Site URL, and Site Address: What’s the Difference?

People frequently use the terms domain name, site URL, and address to refer to the same thing. In fact, as you may have noticed, we used the phrases interchangeably throughout the introductory section of this text. Does this imply that all three names refer to the same thing? No, not at all. Your website’s domain name is essentially the address where your website may be found on the internet. Although your website may have several pages, articles, and files, it can only be identified by a single domain name.

  • Although the building may have several levels and rooms with unique IDs (for example, floor 2, room 302), it can only have a single street address (e.g.
  • Unlinked Uniform Resource Locator (URL): A URL is the address/path to a certain website, post, or file on the internet.
  • The URL to this article can be seen highlighted at the very top of the page, and it reads: If you copy this link and paste it into your computer browser, you will be sent exactly to this post.
  • Finally, a site address is a general name that can be used to refer to the domainname of a website or a URL inside a website, depending on the context.

How to Change Domain Name in WordPress

There are a variety of approaches that may be used to modify the URL address of a website. We shall, however, just take into consideration three of them. Specifically, through theWordPress dashboard, using an FTP client like as cPanel, and finally through theWordPress database. Aside: Having a current backup of your complete website is a wise habit to keep in mind. It will prevent you from losing important information. Check out our list of the top WordPress Backup Plugins available on the market, which you can find here.

Via WordPress Dashboard

The WordPress administration dashboard may be thought of as the core command unit of the WordPress platform. The WordPress administration panel allows you to make changes to, adjust, and modify your WordPress websites. Log into your WordPress administration area to get started. Navigate toSettingsGeneral Settings on the left-hand side of the screen. Your WordPress Address URL and Site Address URLblocks will be displayed on the following page. The old site address should be replaced with the new one that you wish to use in both of these blocks.

Please keep in mind that the component should be included in both settings.

A trailing slash (/) should not be used at the conclusion of the sentence. When you’re finished, scroll down to the bottom and click Save Changes. Clear the cache of your website after making changes to the URL of your website in order to avoid redirect issues.

Change Domain Name Through FTP Client or cPanel

You may easily update your domain address by editing the wp-config.php file, which is located in your WordPress installation directory. Because this file is on your server, you must access it through FTP usingFileZilla(an FTP client) or through the cPanel.Once you have accessed the file, open it with a text editor of your choice.If FTP appears to be too much of a hassle, you can use the cPanel.First, log into cPanel with your login credentials, then click onFile Manager.Once you have accessed the file, open

You might be interested:  What Is Managed Wordpress Hosting?

Change Domain Name Via WordPress Database

The database will be the final approach that we will look at in this section. In order to get started, go into your cPanel account and click to the phpMyAdmin section. When the database page is displayed, in the left-hand pane, click the Plus button to the right of the database name you want to create. A drop-down menu will be displayed. Please keep in mind that your database may have a prefix different than wp_.) and then choose wp options. Then go into thesiteurlandhomerows and make changes.

Then press the Go button.


Making changes to the URL of WordPress websites or blogs is a high-risk endeavor. If at all possible, avoid it. Certain conditions, on the other hand, may necessitate the necessity for you to alter the URL of your website. We’ve talked about a handful of them here. If you ever find yourself in the position of having to alter your website’s URL, make a point of following the instructions we’ve provided below. As a result, the possibility of your entire website being down is reduced. Resources in addition to the ones listed above:

  • How to Block IP Addresses in WordPress (Opens in a new browser tab)
  • How to Block IP Addresses in WordPress (Opens in a new browser tab)
  • What is a Slug in WordPress
  • WordPress Database Plugin
  • What is a Slug in HTML

Continue reading these useful articles:

How to Change WordPress Domain Address

Today, we’re going to present something pretty easy for WordPress Developers, but something fairly difficult for the general public who uses the WordPress platform. Recently, we’ve had a large number of inquiries on the process of changing the domain name of WordPress-powered websites. As a result, we’ve put together this step-by-step guide to show you how to alter the WordPress site address (URL). There are a variety of options for moving your website to a different domain. We’ll start with the most straightforward approach.

Change the Domain of Your WordPress Site

To make things obvious, we have broken the complete process into many parts.


You should have completed the following tasks before starting with the migration:

  • Understand what you’re doing
  • You have FTP access to your cPanel. A new domain
  • A complete backup of your data

The most crucial thing to do before taking action is to create a complete backup of everything. You have the option of manually backing up everything and exporting the database. There are also a number of strong plugins available that include backup functionality. Some useful plugins are Updraftplus, BlogVault, VaultPress, and others. Find more WordPress plugins that are a must-have for any website. When you have finished creating a full backup, stop. Continue on to the next stage.

1. Add New Domain to Your Hosting

You must first add the new domain to your hosting account before you can begin using it.

You may quickly and simply add your domain from inside cPanel. Simply select the Addon Domain option from the drop-down menu. Now, put your new domain name, subdomain, and document root into the appropriate fields. Select Add Domain from the drop-down menu.

2. Copy the Old Domain Folder to the New One

Take a backup of your data, or you may just copy the contents of your former domain folder into the new domain folder. If you are not transferring your hosting provider, this procedure will be simpler. If you are moving to a new hosting provider as well, you will need to retrieve your backup and upload it to your FTP server before proceeding. All of these tasks are simple to complete with cPanel.

3. Change the Site URL in wp-config.php

Now, navigate to your newly created domain folder. Edit the wp-config.php file to provide the URL of the site as well as the site home page for your new domain. You can use the following code to accomplish your goal. define(‘WP SITEURL’,’define(‘WP HOME’,’define(‘WP SITEURL’, ‘ You must replace with the domain name that you have chosen.

4. Updating Database Info

Only the domain name will be transferred, and we will not be changing our web hosting provider. As a result, there is no need to modify the database. Changing the database information in your WordPress installation’s wp-config file will be necessary if you want to make changes to the database structure. Log into your cPanel and select File Manager from the drop-down menu. Locate the wp-config.php file in the WordPress installation folder by going to the location where WordPress is installed. Edit may be accessed by selecting it with the right click.

Find the name of the database base and replace it with the new one that you generated earlier in this process (if required).

5. Install Search and Replace Plugin

Now, log into the WordPress Admin Dashboard for your newly created domain. You’ll need to download and install the Search and Replace Plugin. It will assist you in searching for and replacing anything you choose within your WordPress installation. It’s as simple as replacing the new domain name with the old domain name. Afterwards, search for and replace the new domain with the previous domain.

6. Clean Cache and Refresh Browser

Cleaning your cache might help you to resolve a variety of problems. Consequently, clear your cache and restart your browser. Visit the homepage of your newly registered domain name.

7. Redirect Old Domain to New Domain

A permanent 301 redirect to your website will be required at this point in your project’s lifecycle. This will improve both the user experience and the search engine optimization of your website. Your visitors who arrive at your website via a search engine will be forwarded to your new domain name. To set up a permanent 301 redirect, go into your cPanel and navigate to the file manager, where you will find the folder containing your website. Locate the.htaccess file and choose it from the drop-down menu.

Options The following symlinks are followed by the FollowSymLinksRewriteEngine onRewriteRule (.*): $ You must replace with the domain name that you have just registered.

Wrapping Up

If you haven’t already done so, you may use this procedure to modify the addresses of your sites or the domain name of your website. Log into your WordPress Admin Dashboard and select Settings General from the drop-down menu. WordPress Address URL and Site Address are two parameters that may be found in the general settings section (URL). You’ll see that it includes your current domain name in the address. Delete the old domain name and replace it with the new one. For example, if your new domain name is’’and your previous domain name is’ ‘, you will need to change your DNS settings.

  1. You have now successfully transferred or replaced your old domain name with a new one.
  2. The only thing left to do is notify the appropriate parties of the modifications you made.
  3. To do so, go to Google Webmaster Tools and login to your account before selecting Change of Address under Configuration from the drop-down menu.
  4. Simply enter the URL of your new website and click “Verify.” Additionally, in order to minimize confusion, you should inform your users of the change.

So, what are your thoughts? If you have a WordPress site, isn’t it simple to change the domain name? If you are aware of any alternative procedures, please share them with us in the comments section below.

How to change domain name in WordPress?

Your domain name serves as a representation of your company’s identity in the internet world. But it is possible that you will require a domain name change or that you will need to replicate the content of your WordPress website and utilize it on a different domain name. Consider the following scenario: You want to promote an item that goes by more than one name, hence you want different domain names for each product name that you want to promote. There are a variety of reasons why you might wish to alter the domain name of your website.

Instead of creating a whole new site for each and every name, you may reuse material that already exists on one of your existing domains to save time and money.

Please keep in mind that the methods outlined below may or may not be sufficient to correctly change your domain name according to the way WordPress communicates with the server.

Following the creation of a backup of your website, it is time to begin the process of changing your domain name in WordPress.

Steps to Change Domain name in WordPress

The first and most important step is to register a new domain name. Follow the procedures listed below to add a new domain. To do so, navigate to cPanelAddon Domains and then click on the Add New Domain button.

  1. CPanel’s main page may be accessed by clicking File Manager
  2. Open the public html folder on your computer. Select all from the menu bar at the top of the screen. While holding down the Ctrl key, choose (un-select) the following folders in your public html folder by clicking on them (without releasing the key).

To copy the files while they are still selected, select Copy from the File Manager’s top-level menu. There will be a pop-up window that displays the following path: /public html Fill in the name of the addon domain folder to which you are copying the files in the appropriate field. After that, the box should appear something like this: /public html/ (Instead of, use the real domain name.) Select Copy File from the drop-down menu (s)

Step 2: Create a New MySQL Database

Now that the files have been transferred over to your addon domain folder, go to a different page in cPanel and launch the MySQL Database Wizard from there. You will be required to build a new MySQL database at this point. The MySQL database is a popular choice among programmers and developers.

Step 3: Edit the WordPress.config File for your New Site

After that, you’ll need to make some changes to the.config file. These are the steps to take in order to make changes to the wp-config.php file for WordPress:

  1. Navigate to the File Manager in cPanel. Identify and open the public html folder in which your addon domain is stored
  2. Code Edit may be accessed by selecting it from the context menu of the wp-config.php file. The following information should be modified when this page is displayed in order to reflect the values that were allocated to the new database that was established in the previous phase.

The right database name, database user, and database password should now be shown in your wp-config.php file, as seen below. WordPress need this information in order to determine which database to use in order to retrieve the information.

Step 4: Export the Database

In the following phase, the database from the primary domain will be exported and then imported into the newly constructed database.

In order to export or import your database, follow the instructions provided in the relevant articles.

  • With phpMyAdmin, you may export your database and import your database at the same time.

Step 5: Update the Database

Following that, you must make necessary changes to the database settings to reflect the new domain name information.

  1. Navigate to your cPanel and click on the phpMyAdmin button to get started. The name of the newly formed database may be found in the left navigation panel by selecting it. wp options can be found on the left-hand navigation panel. Then, on the siteurl line, choose Edit. Changing the primary domain name to the addon domain name is recommended. To proceed, press the Go button. Then, on the blogname line, choose Edit
  2. Modify the blog’s name to suit your new blog’s identity, and then click Go. Then, on the blogdescription line, select Edit
  3. Change the blog description to reflect your new blog, and then click Go to publish your changes. Select wp users from the left-hand navigation panel. The user login line may be edited by selecting Edit and changing the user name to match a new login username of your choosing
  4. Change it as well on the user nicename line in the config file. For security reasons, do not use the word Admin as either a username or a password. Highlight and erase the characters that are now in the user pass box on the user pass line. Design your own password and keep it confidential. To the left of that box is the varchar(64) box
  5. Click the down arrow and pick MD5
  6. Then click Go
  7. And last, click Finish.

Please visit (replace your real domain name with your to test these modifications. Your freshly imported WordPress site should now be accessible through a successful login.

Step 6: Update the Database Tables

Install the Search and Replace plugin as soon as the domain is operational and you are able to get into the WordPress Dashboard of the new website. This will allow you to quickly search through all of the tables in the database, look for your old domain, and replace each instance with your new domain in a single operation. After the tables have been updated, you can remove the plugin from your computer. Apart from the database, you should also examine your website for any URLs that have been hard-coded into widgets or other components.

In order to obtain further information on how to use this plugin, please review the following article:

Step 7: Update WordPress

  1. Log in to your WordPress Dashboard to begin editing. Navigate to Settings from the left navigation menu
  2. Then select General.

Check that each of the following fields has your new domain name, not the old one, and that no other information is displayed: Changing your domain name in WordPress may appear to be a complicated procedure, but it is actually rather straightforward. Nothing more than attentively following the steps on your Bluehostdashboard is required.

Leave a Comment

Your email address will not be published. Required fields are marked *