Changing your WordPress domain name is an important part of a companyâs rebranding journey. However, updating your name without the right strategy can be problematic, as you may lose all of the search engine optimization (SEO) benefits youâve generated over the years.
While you should never change your companyâs name, domain name, or brand on a whim, there are various reasons why you may want to change your domain name.
If youâre updating your brand, moving away from an outdated name, or merging with a new company, you may need a new domain name thatâs consistent with your brand identity.
Today, Iâll explore the steps involved in changing a WordPress domain name the right way.
Changing a WordPress Domain Name (Key Takeaways)
- Plugins can simplify the domain change process for a WordPress website by assisting with tasks like creating backups, setting up redirects, and migrating data.
- Companies may need to change their domain name due to rebranding, merging with another company, changing to a more specific domain extension, merging multiple domains, or creating a more user-friendly URL.
- Before changing a domain name, it’s important to purchase the new domain, backup the website, and notify your audience about the change. These steps are crucial to avoid data loss and ensure continued customer access.
- The technical process involves adding the new domain to your hosting plan, transferring core files, updating the site address and URL, and resetting the URL structure.
- Implementing 301 redirects from the old domain to the new one is essential to maintain SEO ranking and direct users automatically to your updated site. Keeping the old domain active for a period ensures a smooth transition for visitors who are unaware of the change.
- Notify search engines, like Google, about the domain change using its Change of Address tools.
Why Change a Domain Name?
Most businesses choose a domain name that matches their company, and they stick with it for the lifetime of their organization. However, some situations might require you to move your WordPress site to a new domain.
The main reasons to consider changing your domain name are:
- Rebranding: Whether youâre merging with another company, shifting to new management, or trying to reach a different target audience, you may decide to update your brand. If you change your company name as part of your rebrand, youâll need to change your domain name too, so itâs easy for customers to find you.
- Domain extension change: If you decide to expand from the standard .com domain into something more specific like .net, or .shop, you may need to change your entire domain name. This could be a valuable opportunity to make your site appear more unique.
- Merging multiple domains: If youâve developed a new domain thatâs gaining impact and authority, you may want to merge it with your existing domain. Merging domains can be a good way to combine SEO and backlink benefits from different websites.
- Creating a user-friendly URL: The simpler your domain name is, the more memorable it will be for your target audience. If your existing domain name or business name is complicated, you might consider changing it to a more straightforward company address.
Steps to Take Before Changing Your Domain Name
The good news for business leaders who want to change their domain name is that the process is usually relatively straightforward. However, before you dive into this process, youâll need to take a few preemptive steps:
1. Choose and buy a new domain name
Before you start shifting all of your data onto a new domain name, youâll actually need to own the domain name you want to use. Typically, this will involve searching for an available name with a domain registrar to change the WordPress address. Check that the domain is unique before you buy it, and ensure the option you choose is simple, straightforward, and easy to remember.
If thereâs a domain name you want thatâs already in use, you may be able to find out who owns the domain and ask them whether itâs possible to purchase the name.
2. Backup your website
If youâve spent months or years transforming your site or blog into a money-making opportunity, the last thing you want is to suddenly lose access to all of your website content and information. Make sure you have a backup of your website available before you start transferring content to your new domain name. Backing up your website is usually a quick and easy process.
There are plugins available for WordPress to help you with your backup. Plus, some hosting providers also allow you to create backups of your site within your control panel.
3. Tell your audience
From the moment youâve chosen and purchased your new domain name, you should be preparing your audience for the change. Get on social media and share information about your name change in advance. Post something about the domain change on your website and send emails to existing customers. Reassure customers that theyâll still be able to access your content after the change. If you decide to update your branding, using an easy online logo maker is a quick way to create a new look without needing design skills.
How Can I Change My WordPress Domain Name?
Once youâve taken the initial steps above, youâll be able to start working on the technical process of changing your WordPress site address. Most of the steps involved in this process are straightforward, but some will require you to make some tweaks to your PHP code. This is why itâs so important to make sure you have a backup of your current site available in case something goes wrong.
Backup your entire website (including your files and databases) using either your hosting providerâs cPanel solution or a plugin like VaultPress or UpdraftPlus. Youâll also need to make sure you have access to a hosting dashboard or FTP client.
Your hosting dashboard will usually provide you with the tools you need to manage your domains, but FTP clients are available to upload your site backup, too. Once youâre ready and you have your new domain name available, follow these steps:
1. Add the new domain name and upload your backup
First, youâll need to add your new domain name to your hosting plan. You can do this using the standard cPanel solution in your hosting environment. To begin, log into your cPanel account and navigate to the Domains section. There should be an option to Add a domain.

Next, fill in the information about your domain address, subdomain, and document root.

If you want to create an FTP account for your new addon domain, youâll be able to check a box at the bottom of the form to do so. This will bring up additional WordPress settings for you, such as the option to add a new username and password. Once youâve filled in all the information, click the Add Domain button.
Remember, youâll need to add the correct DNS records to ensure your add-on domain works. There are online DNS checkers to help with this.
2. Copy the core files from your old domain
Now youâve got your new domain setup; itâs time to start transferring the core files from your old domain into your new site domain. If you already have a backup in place, download this file from your hosting dashboard. You can also copy your old domain folder to a new one.
The exact steps involved in moving your website content to a new domain may vary depending on the hosting provider you use. For instance, with Hostinger, youâll need to access your hPanel dashboard and go to the File Manager section. Click on the domain folder you want to move your content from in this section and open your public_html directory.

Select all the files you want to move, and click the Copy or Move button to transfer everything to your new address. A box will appear allowing you to change the location of your files to your new domain. If you are switching to a different host for your WordPress website, youâll need to download your backup and upload it via an FTP client or cPanel file manager.
3. Update the site address and URL
Now youâre ready to update the existing URL for your website and website address. This should provide a smoother experience for your visitors, and it will make it easier to maintain the SEO benefits for your site content. There are a few ways you can take this step. The easiest option is perhaps to use the WordPress Admin dashboard.
Go into your WordPress General Settings page, by clicking on Dashboard followed by Settings then General. Replace your current WordPress URL and Site Address in the available boxes with your new URL.

Both addresses should match unless youâre using a designated homepage for your WordPress site. Click Save Changes when youâre done.
An alternative option is to use the wp-config.php file. This file can be found in your WordPress site root directory, which you can usually access through your cPanel file manager or an FTP environment. Click Edit on the file, and insert your new site URL into the code. You may need some extra help with this if youâre not used to PHP code, especially when you want to change your WordPress settings.
Another way to update your WordPress address URL is to adjust the database in the phpMyAdmin environment within your cPanel. You can do this by clicking on the Databases section of your cPanel environment, and choosing the database where your WordPress files are located. Click on Edit phpMyAdmin and select the Site URL to edit.
4. Reset your URL structure
Once youâve changed your URL and site address, youâll need to update your URL structure. This will help to reduce the risk of your pages and posts showing the 404 error when a visitor tries to access them because the server canât fetch the right resources.
There are a few ways to edit your URL structure in your WordPress settings. Most people prefer to reset their permalinks using the WordPress dashboard. To do this, visit the Settings page, followed by Permalinks.

WordPress uses the Plain permalink structure by default, which doesnât contain any information about your content. Thatâs not always ideal for SEO. You might consider switching to an alternative like Day and name which shows the publishing date and name, or Custom structure.
Usually, the best option is to use the post name structure for your URLs, as itâs still relatively short and straightforward for users. It also helps to include keywords in your URLs, so youâre more likely to benefit from an SEO standpoint.
Another way to edit your URL structure on WordPress is to use your databaseâs search and replace command. If youâre not comfortable with coding, you can do this a little more easily with a tool like the Better Search Replace plugin. Once youâve installed the plugin, go to the Tools and then to the Better Search Replace option within your WordPress admin dashboard.
In the Search/Replace section, add the text string you want to look for and choose a replacement.

You can choose the database table you want to modify, and review the changes to your database before you apply them with the Run as Dry Run option. Finally, click Run Search/Replace.
5. Redirect visitors from the former domain
Now, youâll need to create a 301 permanent redirect from your old domain, sending users to your new one. This redirect is how you maintain your SEO standing from your existing website when switching over to a new domain name. The redirect will transfer your page ranking values and keep you ranking in the same positions for your chosen keywords.
Although youâre going to be permanently redirecting traffic from your old domain to your new one, itâs often a good idea to keep your former domain active for a while. This ensures that anyone who isnât aware youâve changed your domain name will still be able to access your site. It also helps when it comes to notifying search engines about your redirection.
To create a 301 redirect, youâll need to go into cPanel to access your .htaccess file. There are a few different ways to do this depending on what kind of hosting provider youâre using. For a hosting provider like Hostinger, youâll need to go into hPanel and then to your File Manager.
Click on your old domain, then open the File Manager and find the .htcaccess file within the public_html directory, then click edit. Youâll need to replace your previous site name with your new domain name and the correct code.

Save your work and close the file. You can also complete this step using an FTP client if you donât know how to do it using your current hosting provider.
6. Notify search engines
Last but not least, itâs worth letting the search engines know youâve made a change to your domain name. Search engines like Google offer tools you can use to change your site address. This process involves filling out a simple form that notifies the search engine of the change, so they can start directing traffic more consistently to your new domain name.
You can learn more about how to use the Change of Address tool on Google here. There are various steps to follow in notifying search engines, but you will have completed some of them (like creating a 301 redirect) already.
Remember, you need to be a verified owner of both the old and new domain addresses in the Search Console in order to notify search engines of a change of domain address.
WordPress Plugins to Change a Domain
If you donât have a lot of experience with PHP code and youâre anxious about changing your WordPress domain name yourself, you can make the process a lot easier by using some simple plugins. There are plugins for virtually every part of the process, from creating backups to transforming your domain name.
Here are some of the best plugin options to consider:
- Redirection: The Redirection plugin is a simple WordPress add-on that helps with creating your 301 redirects. This tool can also track 404 errors, which can help to reduce your risk of suffering SEO issues due to a problem with your pages not loading. You can even create redirects for your customers with this plugin based on login status, WordPress capabilities, browsers, referral links, cookies, and more.
- Duplicator: One of the highest-rated plugins for WordPress users looking to update their domain name or site factors, Duplicator helps with backups and migrations. With this tool, you can rapidly backup your entire site and move all of your files. This tool is particularly helpful if youâre planning on changing hosting providers when you change your domain. The system will download your entire site, including any themes and plugins into a .zip file.
- Backup Guard: Another excellent option for migrations and backups, Backup guard helps you backup your existing content, and restore functionality for your site when you move to another domain. There is a free version of this plugin available, but the premium version has more features. The premium plan also allows you to handle migrating your website from one domain to another without having to dive into too much code.
Conclusion
Changing your WordPress domain name can seem like a complicated process, but it doesnât have to be. If you find you need to change your domain name for any reason, whether itâs part of a rebrand or youâre just trying to create a more user-friendly URL for your WordPress website, then follow the steps above.
WordPress already offers a range of built-in settings to help you change your URL addresses, and countless plugins can make the process of backing up your site, redirecting your visitors, and migrating your data easier. If youâre concerned about any of the steps above, you can also find professionals online who can help with domain migrations.