How to Move your WordPress site from a Subfolder to the Root Directory

Rate this post

Learn how to move a WordPress website from a sub-directory, to the document root. In my test I moved a site from example.com/wordpress, to example.com. Below is an outline of the steps – Moving WordPress to the root directory:

1. Backup your WordPress website.
2. Login to the Admin Dashboard, and update your “Site” and “Home” URL.
3. Save your changes.
4. If your site links are not working, you may have to reset your WordPress permalinks.

For additional information, see our full article – Moving your WordPress from a subfolder to the root directory:

Helpful articles:
How to Reset WordPress Permalinks

InMotion Hosting was founded in 2001 and provides personal and business web hosting for everyone! For more information about InMotion Hosting and the services we provide see here:

? Get 1 year of WordPress Hosting for just $10! ? This Limited Time Offer Exclusively from InMotion Hosting Gets You WordPress-optimized Hosting, Email, Free SSL, Free Website Builder, Free Themes and So Much More! (Available for New Customers Only)
▶︎ Claim This Offer Now:



Mazi has nine years of web development experience with the past five years spent honing his skills with WordPress plugins and themes. He's an expert in WooCommerce and is the author of the Simple Sales Tax plugin, a popular sales tax compliance solution for WooCommerce. Brett understands the importance of excellent communication, prides himself on producing high-quality code, and is comfortable working solo or as part of a team.

Leave a Reply

Your email address will not be published. Required fields are marked *

Check Also
Back to top button