HOW TO: Move WordPress files from folder to root folder on cPanel
Posted by Asilah A. on 16 March 2021 01:42 PM
Do you want to move a WordPress files from folder to root folder?
Step 1. Create a complete backup of your website
For this example, the path of Wordpress files of website shinjiru.org is : /home/shinjiru/public_html/wp
1) Select all the files
2) Compress all selected files and zip
The backup file .zip is for your own record. You may download it and save into your computer.
Step 2. Moving your WordPress files from folder to root folder
1) Select all the files again and click Move
2) Move the files to root folder/path : /public_html/
3) Make sure that WordPress files successfully move to root folder/path.
Step 3. Change Site URL Settings in phpMyAdmin
Once you move the WordPress files, you will not be able to access the WordPress admin area on the root domain. You may need to change the site url from http://shinjiru.org/wp to http://shinjiru.org/
Step 4. Make sure .htaccess file using default code.
If you are using cPanel File Manager, then click on the Settings button at the top right corner of the screen. This will bring up the preferences popup. You need to select ‘Show hidden files’ and then click on the save button.
# BEGIN WordPress
That’s all, you have successfully moved your site from folder to root folder/path.Test out your website to make sure that everything is working fine. We hope this article helped you move your site!
If you face any difficulties on the setup, please feel free to contact our support team by submitting a ticket on https://247livesupport.biz or emailing out support team at firstname.lastname@example.org.