soothion/wxy/master/.htaccess - Htaccess File

soothion/wxy/master/.htaccess

RewriteEngine on

#RewriteRule ^(.*)$ http://www.fieryrain.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^fire-rain.com [NC,OR] 
RewriteCond %{HTTP_HOST} ^www.fire-rain.com [NC] 
RewriteRule ^(.*)$ http://www.fieryrain.com/$1 [L,R=301]

# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# otherwise forward it to index.php
RewriteRule . index.php

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME

Comments

Apache