update ver 1.0.3.1
This commit is contained in:
30
.htaccess
30
.htaccess
@@ -1,19 +1,15 @@
|
|||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
<IfModule mod_negotiation.c>
|
<IfModule mod_negotiation.c>
|
||||||
Options -MultiViews
|
Options -MultiViews
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
|
||||||
# Redirect Trailing Slashes…
|
# Redirect Trailing Slashes...
|
||||||
#RewriteRule ^(.*)/$ /$1 [L,R=301]
|
RewriteRule ^(.*)/$ /$1 [L,R=301]
|
||||||
RewriteCond %{HTTP_HOST} !^$
|
|
||||||
RewriteCond %{HTTP_HOST} !^www\. [NC]
|
# Handle Front Controller...
|
||||||
RewriteCond %{HTTPS}s ^on(s)|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteRule ^ index.php [L]
|
||||||
# Handle Front Controller…
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
|
||||||
RewriteRule ^ index.php [L]
|
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
Reference in New Issue
Block a user