お名前.comのレンタルサーバーでWordpressやる際の注意点
code:.htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - E=HTTP_AUTHORIZATION:%{HTTP:Authorization}
RewriteBase /wp/
RewriteRule ^index\.php$ - L
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wp/index.php L
</IfModule>
サブディレクトリのwpにWordpressがインストールされるようになるので、RewriteBaseを/wp/にするのがポイント