1. Export everything from the source WP ( dashboard -> tool-> export)
2. In target WP, probably better to clear database using plugin “WordPress Database Reset”.
3. Prepare: custom post type, CPT UI setting, custom taxonomy, plugins. Don’t migrate the files and media. Setting for “uploads” must be same as the source WP.
For example, if the “All in One SEO Pack” has been installed, the setting will be migrated through export-import procedure.
permalink settings might be set to default; it can be set after migration smoothly if the apache and .htaccess are properly set.
4. Import!
5. Better to check the ref. to the source WP especially on the media. Firefox “要素を調査” is convenient tool for this.
6. Change permalinks. If failed, check .htaccess and apache setting; rewrite module and setting in enabled site. .htaccess must be rewritable: check the permission for this file and directory.
7. Migrate (php) files. No need to migrate media, they should already be present.