How to Move WordPress

Movng WordPress s frly esy, but t needs creful . The key pont of WordPress dreory chnge s to modfy URL settngs through the dmn pge nd/or to chnge DB user nfton through “wp-confg.php”. n most cses, re-nstllton s not necessry.

Moving WordPress Case by Case
1. Move WordPress to a new directory within the same website.
2. Move WordPress to an existing directory (including the root directory) within the same website.
3. Move WordPress to a new server with the same domain and the same directory.
4. Move WordPress to a new server with a different domain or a different directory.
5. Use WordPress plug-ins or tools to export and import data.
6. Update the internal links of the existing posts if necessary.
7. Modify the 404 page if necessary to indicated that some files may be missing because of directory change.
8. Manual update of the blog URLs using MySql queries.

n ny cse, bckup s essentl!

1. Move WordPress to a new directory within the same website.

to the top

to the top

to the top

to the top

to the top

to the top

to the top

to the top

2. Move WordPress to an existing directory within the same website. Ths ncludes movng WordPress dreory to the root dreory. t’s gong to overwrte the destnton fles when ther nmes re the sme.

3. Move WordPress to a new server with the same domain and the same directory.

4. Move WordPress to a new server with a different domain or a different directory.

5. Use WordPress plug-ins or tools to export and import data. f you don’t feel comfortble to run queres, use ths WordPress plug-n.

WP-DB-Backup
Ths tool llows you to bck up WordPress DB dt wthout usng phpMydmn or commnd lnes.

6. Update the internal links of the existing posts if necessary. The nternl lnks wthn the exstng s nd pges should be mnully updted when they use bsolute URLs. Otherwse, they stll pont to old loctons.

Exmple) www.mydomn/oldblog/tps/how-to-move-wordpress.html
-> www.mydomn.com/newblog/tps/how-to-move-wordpress.html

Run ths MySql query usng phpMydmn or other DB tools.

7. Modify the 404 page if necessary to indicated that some files may be missing because of directory change.

V WordPress dmn: -> Theme Edtor -> 404 Templte or
V FTP: wp-content/themes/yourtheme/404.php
Exmple) http://www.free-ebusnesshelp.com/exmple-404pge.html

8. In case that the blog URLs have not been changed, you can run this MySql query and manually update them.

Source