How to move WordPress within your sites?
There are three cases and the steps are listed below:
1. URL remain same and just the folder moved
- Just simply move the wordpress folder to new one
2. Domain Name changed, but path not changed
- Please login to your blog.
- Go to the Administration > Settings > General panel.
- In the box for WordPress address (URI): change the address to the new location of your main WordPress core files.
- In the box for Blog address (URI): change the address to the new location, which should match the WordPress address (URI).
(Do not try to open/view your blog now!)
- Delete the folder wp-content/cache.(WordPress 2.0 only)
- Move your WordPress core files to the new location. This includes the files found within the original directory, such as http://example.com/wordpress, and all
the sub-directories, to the new location.
3. Domain Name and path both changed
- If you are using Permalinks, go to the Administration > Settings > Permalinks panel and update your Permalink structure to your .htaccess file, which should be in the same directory as the main index.php file.
- If you have problems with missing images that you've uploaded, you need to change the path to the images on every post directly on your SQL database.
Add Your Comments