dsebao
11/18/2014 - 1:06 PM

Moving WordPress - Steps to follow

Moving WordPress - Steps to follow

<?php

//wp-config.php

$base = '/';
define( 'DOMAIN_CURRENT_SITE', 'mydomain.com' );
define( 'PATH_CURRENT_SITE', '/' );

//SQL commands
UPDATE wp_posts SET guid = REPLACE (guid,
'http://exampleoldsiteurl.com',
'http://examplenewsiteurl.com');

//Repeat the above and replace ‘guid’ with ‘post_content’.

?>