New answers tagged migration
You're almost there, it's just the other way around: define('WP_HOME','http://www.m2comm-semi.com/new'); define('WP_SITEURL','http://www.m2comm-semi.com'); WP_HOMEis the URL where the actual files are and WP_SITEURL is the URL under which you access the site. Also be aware that this doesn't go in the functions.php but in the wp-config.php The Admin is ...
use WordPress export option and after that use import on the second site How to Export and Import a Wordpress Blog
How will you represent the galleries on the new site? Will each gallery be a post with a standard [gallery ids=...] shortcode? If so, you'll basically only need the url for each image on the old site (plus post heading/text and image descriptions if needed), and you can create a WXR import file to import everything into the new site. Example, an import ...
Top 50 recent answers are included