How to Move WordPress from Subdomain to Root

Many people start websites in a subdomain only to later move it to the root. This process is not too difficult, but it can take time. However, it’s a good way to move the site from something like “” to just 

Subdomains are useful if you want to extend what the main domain offers. For example, some people will use subdomains for blogs and the main root website as e-commerce.

In this tutorial, Cameroon WhatsApp Number I will show you how to move WordPress from its subdomain to a root domain. It’s as simple as copying the files and making some minor adjustments.

Without redirects, visitors and search engines will still go to your subdomain website. There are many redirect plugins to choose from, so you will need to find one that you are comfortable with. I suggest using redirect because we’ve used it to cover creating redirects in the past and it works well.

A redirect not only works to help visitor traffic reach your new URL, but also search engine crawlers. It helps guide SEO and improves performance by notifying sites like Google that your content has moved.

Create a Backup of Your Site

Before you do anything, make a backup of your website. This helps protect you from problems that may arise by giving you a quick method of recovery. You don’t want to be in the middle of a file transfer and find out that something has been corrupted beyond repair.

Cameroon WhatsApp Number
Cameroon WhatsApp Number

You have several ways to create this backup, whether you use FTP, plugins, Softaculous, or copy files yourself. Perhaps the easiest method is to use WordPress backup plugins. Some will even save to your cloud storage services like Dropbox.

Collecting Your Subdomain Files

You have several options to retrieve your website files from the subdomain. Many people prefer FTP programs like FileZilla because they offer a lot of control over the site as a whole. For this tutorial, I will be using the file manager in cPanel.

File Manager comes with a variety of tools to accomplish most tasks, and it’s designed to work from a web browser, meaning you can make adjustments without having to install FTP apps. The root directory will have your subdomains listed inside. It may also contain files such as “htaccess” or “index” if you have ever used it to host a website. Take note, many of these files will be deleted. If there are files you want to keep, I suggest you copy them somewhere.

Leave a comment

Your email address will not be published.