adsense

How to Move WordPress to a Root DIR





1. Connect to your site using an FTP program and copy all your WordPress site files into your computer.
2. Log in to the administration panel of your website. Go to your MySQL database control panel and export your WordPress database to a SQL file.

3. Open the SQL file in Notepad. Find and replace all instances of your old subdomain to your root domain; for example, if the WordPress site was previously located in 'www.mydomain.com/wordpress,' replace all instances of it with 'www.mydomain.com.' Save the file.
4. Copy all the WordPress files on your computer into the root folder of your site using an FTP program and delete all the old WordPress files residing in your site's subdirectory.
5. Delete your current WordPress database in MySQL.
6. Load the SQL file you edited earlier in MySQL to create a new database with the updated URLs.
7. Open a browser and type in your domain name to test your new root-directory WordPress installation.

Comments

1 Response to "How to Move WordPress to a Root DIR"

Unknown said... September 18, 2013 at 3:08 AM

Can it possible that we remove all images as well if images are hyperlined with relative path not absolute path
Casino Resort

Post a Comment

Popular Posts

About