How to Move WordPress Website from Subfolder to Root Directory
From this tutorial you’ll learn how to move WordPress website from subfolder to root directory to make the URL links look more compact and clear.
Moving Website to Root Directory
- First of all, let’s log in to Administration panel (Dashboard). Navigate to Settings tab in the left column of the Dashboard, and open General submenu.
- Here you need to change the URL address of your website. Technically, you need to change the path to the new one, corresponding to its new location on the domain. On the image below you can see how you can change the website address.
- The new address has to reflect the path to the new domain location.
- You’ll see 404 Page Doesn’t Exist. It’s because you haven’t moved website’s files to the new location.
- Log in to your hosting server cPanel file manager. Now you need to copy all your website’s files. Use Copy button at the top.
- The next step is to define the new location of the website. Specify it in the required field. Then click on Copy File(s) button.
- Enter your new website’s address in the browser’s address bar. You’ll see your website.