Skip to content

Commit 6ee622c

Browse files
committed
htaccess for all environements
This one is good on local and live.
1 parent 0fdb9e6 commit 6ee622c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.htaccess

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
DirectoryIndex index.php
2-
RewriteEngine on
3-
RewriteBase /
1+
RewriteEngine On
2+
RewriteRule ^inc/.*$ index.php
43
RewriteCond %{REQUEST_FILENAME} !-f
5-
RewriteCond %{REQUEST_FILENAME} !-d
6-
RewriteRule ^(.*)$ index.php?/$1 [L]
4+
RewriteRule ^(.*)$ index.php [QSA,L]

0 commit comments

Comments
 (0)