Showing results for 
Show  only  | Search instead for 
Did you mean: 

Moving WP site from subfolder to root

I have installed WP in my folder. I also have the site URL listed as I want to move my site URL to be just 


Is it as simple as updating the Site URL Address? Will WP make the necessary changes in the db and render properly at ? If not what is the process? 


Hi debatdonley 

First of all you have to identify the databse name from wp-config.php file from your website's folder

like if your website in folder then in wp folder find wp-config.php and see db-name ,.

After that you can pass your file inside your root folder.

After that go to phpmyadmin and find wp_options and update site url and home url .

and at the end please update .htaccess file from below code link

it will work definitely
Cheers 🙂