This article explains how to move WordPress from a subfolder to the root directory. Before making any changes, back up your account.
Follow the steps:
- Prepare WordPress for the Move:
- Log in to your WordPress dashboard.
- Go to Settings > General.

- Update the WordPress Address (URL) and Site Address (URL) from example.com/WordPress to example.com.

- Save the changes.

- Move WordPress Files to the Root Directory:
- Log in to cPanel and open File Manager.

- Enable Show Hidden Files in the settings.

- Navigate to your subfolder (e.g., /WordPress).
- Select all files and click Copy.

- Change the destination to public_html and confirm.
- Go to public_html to verify the files are copied.
- Delete the old WordPress subfolder.
- Log in to cPanel and open File Manager.
In this way, you can move WordPress from a subfolder to the root directory. Let us know if any further adjustments are needed!
Planning to restructure your site? Check out How to Move a Website from a Subfolder to the base Domain on cPanel
Related Articles

How to Redirect HTTP to HTTPS in WordPress Using .htaccess

How to Check Hosting Resource Usage for WordPress in cPanel

How to improve WordPress Performance with Caching and HTTP/2
