2013-10-31 RewriteCond の条件で複数の拡張子を指定する .htaccess index.htmlかindex.phpの場合SPフォルダのindex.html 、index.phpにリライトする RewriteCond %{REQUEST_URI} ^/index\.(php|html)$ RewriteRule ^(.*)$ /sp/$1 [R=301,L]