4.25.2012

wordpress サイトURLを正規に

①管理画面の左メニュー「設定」「一般」を選択 ②WordPress のアドレス (URL) ⇒ そのまま ③サイトのアドレス ⇒ http://example.com/ に変更 ④「設定を保存」を押下 ⑤ http://example.com/wp/ 直下にある index.php を編集   require('./wp-blog-header.php');   ↓   require('./wp/wp-blog-header.php'); ⑥ http://example.com/wp/ 直下にある index.php(⑤で編集したファイル) と .htaccess を http://example.com/ 直下にコピー