ivywe/geeklog-ivywe/master/extended/public_html/SAMPLE.htaccess - Htaccess File

ivywe/geeklog-ivywe/master/extended/public_html/SAMPLE.htaccess

#ファイルがみつからない場合のページを指定する。
ErrorDocument 404 /404.php

# wwwありに統一
# RewriteEngine on
# RewriteCond %{HTTP_HOST} ^○○○.com$
# RewriteRule ^(.*)$ http://www.○○○.com/$1 [R=301,L]

# wwwなしに統一
# RewriteEngine on
# RewriteCond %{HTTP_HOST} ^www.○○○.com$
# RewriteRule ^(.*)$ http://○○○.com/$1 [R=301,L]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST

Comments

Apache