How to Move a Website from subfolder to the base domain?

1- Login to your cPanelFile Manager:

2 – Open the public_html directory after entering the File Manager

3 – Open the subfolder that appears within the public_html directory (in our case, xcart).

4 – You should be able to see all the files on your website. If you see a file named index.php or index.html, you’ve come to the right place. By clicking Select All, you can Select all the files and folders.

5 – Right-click one of them and select Move:

6 – Next, specify the location to which the files should be moved. Click on Move Files for your account’s main domain, which is /public_html.

7 – After the files have been moved, return to /public_html and delete any leftover files and folders (in our example, xcart, and the xcart folder).

8 – Finally, access your website in your browser after clearing the cache and check that everything works correctly.

That’s all! You’ve successfully transferred your website from a subfolder to the root domain.

Incase you are willing to migrate you website or move your hosting, WebhostUK offers free migration and 24×7 customer support.. check our shared hosting plans at:

https://www.WebhostUK.Co.UK/web-hosting.html

Author – Preston