I used the commonly recommended search and replace plugin to change the URLs in the backend.
I also fired the following queries in phpmyadmin without any success.
UPDATE wp_options SET option_value = replace(option_value, 'OLDURL', 'NEWURL') WHERE option_name = 'home' OR option_name = 'siteurl'; UPDATE wp_posts SET guid = replace(guid, 'OLDURL','NEWURL'); UPDATE wp_posts SET post_content = replace(post_content, 'OLDURL', 'NEWURL'); UPDATE wp_postmeta SET meta_value = replace(meta_value,'OLDURL','NEWURL');
What am I doing wrong here? This is the tried and tested technique I've used to migrate a lot many other sites prior to this.