xamppを使い、localhost/mywordpressで、デザインをしたwordpressブログをレンタルサーバーに移転するさせる方法について質問です。 localでのwp-config.phpは、下記 wp-config.php 1---------------------------- define('DB_NAME', 'mywordpress'); define('DB_USER', 'root'); define('DB_PASSWORD', 'mypass'); define('DB_HOST', 'localhost'); define('DB_CHARSET', 'utf8'); define('DB_COLLATE', ''); ---------------------------- 私用を検討しているサーバーは、http://byethost.com/かhttp://www.freehostingeu.com/です。 サブドメインを取得し、下記の情報はすべて変わります。 wp-config.php 2------------------------- define('DB_NAME', 'xxxxx'); define('DB_USER', 'xxxx'); define('DB_PASSWORD', 'mypass'); define('DB_HOST', 'xxxxx'); ------------------------ ここで二つ質問があります。 第一に、wordpressの移転は、ftpではなく、phpmyadminのinport/exportではなkればいけないのでしょうか? 第二に、phpmyadminからインポート・エクスポートを使って移転するとしたら、 どのタイミングでwp-config.php1をwp-config.php2に変えられるでしょう?
↧