How Do I Move a WordPress Site From Subdirectory to Root?

Moving a WordPress site from a subdirectory to the root directory is a simple process, but it can be time-consuming. The most important step is to make a copy of the site’s files. You can use a backup tool, or simply copy the files by hand.

Next, you need to change the site’s ownership and permissions. Finally, you need to delete the old files.

To make a backup of the site’s files, use a backup tool such as WordPress Backup and Restore. To change the site’s ownership and permissions, use the chmod command.

To delete the old files, use the rm command.