WordPress Migration

When moving a WordPress sit to a new domain it can get really hard as you will need to replace certain aspects of the MYSQL Database.

Please follow the following steps after importing the database in your new location.

 

Update Post_Content with the following SQL:

UPDATE wp_posts SET post_content= (REPLACE (post_content, '<old url>','<new url>'));

 

Update Post_Meta:

UPDATE wp_postmeta SET meta_value= (REPLACE (meta_value,'<old url>','<new url>'));