If you're moving your site to another domain, or changing to HTTPS, a database update of urls is needed. Update the following SQL with your database prefix, old url and new url, and run it thru phpmyadmin.

UPDATE wp_options SET option_value = replace(option_value, 'OLD URL', 'NEW URL') WHERE option_name = 'home' OR option_name = 'siteurl';

UPDATE wp_posts SET guid = replace(guid, 'OLD URL','NEW URL');

UPDATE wp_posts SET post_content = replace(post_content, 'OLD URL', 'NEW URL');

UPDATE wp_postmeta SET meta_value = replace(meta_value,'OLD URL','NEW URL');
Was this article helpful?
Thank you!