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

Moving WP site from subfolder to root

I have installed WP in my http://domain.com/wp folder. I also have the site URL listed as http://domain.com/wp. I want to move my site URL to be just http://domain.com. 

 

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

1 REPLY 1

Re: Moving WP site from subfolder to root

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 abc.com/wp 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 🙂