月別アーカイブ: 2014年11月

Whole wp site migration

The following deals withe case of migrating wordpress site to existing wordpress site.

1. Back up “.htaccess” and “wp-config.php”.

2. Delete all the directories: namely “wp-admin”, “wp-content”, “wp-includes” and other if any.

3. ftp all the directories. : visit: one warning and one fatal error

4. ftp files in the root directory. : visit: データ確立エラー

5. restore “wp-config.php” from the backup.: visit: nothing appears.

6.restore “.htaccess” from the backup.:visit: nothing appears.

7.

 

leading blank line in .htaccess

Never!!

With this blank line, permalink to default will cause “not found”.

Correct .htaccess when the permalink is %postname% will be rewritten to almost blank .htaccess when the permalink is set  to default, and will be written back to the original file when the permalink is reset to %postname%.