adsense

How to Move Wordpress to Root





Update WordPress URLs
1. Log into your WordPress Dashboard.
2. Navigate to Administration -> Settings -> General.

3. Change the WordPress address (URL) to the new web address of your blog. Since you are moving your blog to the root directory, this will probably be something like http://www.
.com.
4. Change the Site address (URL) to match the WordPress address (URL) you just updated.
5. Save changes.
Move WordPress files to root
6. Backup all files in the root directory and the existing WordPress directory, including all of its files and subdirectories.
7. Make sure the root directory is ready for the WordPress files that will be moved into it. Any .htaccess, index.php or other files with names used by WordPress files will be overwritten. If there are subdirectories that have the same name as subdirectories in the WordPress directory, they will filled with WordPress files during the move.
8. Move all files and subdirectories in your WordPress directory into the root directory.
9. Check the permissions of the files you moved to the root directory. If any have permissions of 0000, change them back to 0644.
Configure WordPress
10. Update the WordPress permalinks found under Settings -> Permalinks to reflect any permalink changes. WordPress will attempt to update .htaccess automatically, but will prompt you to do it manually if it cannot do so.
11. Make sure the uploads folder is set to use the new directory structure. This setting can be found under Settings -> Media -> 'Store uploads in this folder.'
12. Update all menus you are using to use the new URL path if they point to the old directory. These can be found under Appearance -> Menus.
13. Update all previous posts that contain images with the new location of your images. WordPress currently does not have a quick and easy way to do this and attempting to automate the process can be a complicated task that is beyond the scope of this article. See the 'Resources' section of this article for possible solutions.
14. Update the File URL of all media content to use the new URL structure. This can be found under Media -> Library. As with images in posts, WordPress does not offer a way to automate this, so you'll need to manually change the URLs and test them to make sure they work as expected.

Comments

0 Responses to "How to Move Wordpress to Root"

Post a Comment

Popular Posts

About