-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.htaccess
More file actions
19 lines (14 loc) · 759 Bytes
/
.htaccess
File metadata and controls
19 lines (14 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>
Options +FollowSymLinks
RewriteEngine On
## Uncomment "#RewriteBase /" below (remove "#") if the website is installed in a folder, and then add the folder name after the slash "/"
## Example: If it is installed in "/public_html/kikder/", then it should be "RewriteBase /kikder/", however it can depends of your Apache configuration.
## If you need, please ask your hosting company or check the Apache doc: http://httpd.apache.org/docs/current/mod/mod_rewrite.html
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?uri=$1 [QSA,L]
</IfModule>