wptest again

1. I messed up the links while using searchreplacedb2, while I didn’t backup database. Thus I had to restart wptest.

2. Activate plugin Database Reset, then it will appear in admin-panel: tools: select all table, check “Reactivate plugins after reset”.

3. Remove *.* wp-content/uploads. as root.

4.Settings->media-settings:uncheck “Organize my uploads into month- and year-based folders”.

5. Import: tokyokamakuraguidedtour.wordpress.2014-3-14.org.xml, while checking “import attachements”.

6. Failed to import many; I realized admin-panel shows no custom-post entries.

7. Redo above 2.,3.,4;

8. Set custom posts and taxonomy; This is indispensable.

custom post UI:

9. Step 5.

10. Importer says “All done”.

11. Now correct links.

11.1.  Backup database with phpmyadmin: export tables related to wptest.

(database ->wpdb->export->詳細->select tables-> 実行; Stored:

11.2. Copy searchreplacedb2.php to wptest root, and rename it knsecret.php.

Visit it.

11.3. Search “japantourguide.chips.jp/”, “replace with 192.168.0.16/wptest/”;

search “japantourguide.net/”, replace with “192.168.0.16/wptest/”;

looks like worked. Delete “knsecret.php”.

11.4 Change theme to adventure-child, munus, etc.