Commit | Line | Data |
---|---|---|
1 | <IfModule mod_rewrite.c> | |
2 | RewriteEngine on | |
3 | ||
4 | # indicate the path of your website relatively to the web root | |
5 | RewriteBase / | |
6 | ||
7 | # the two following conditions say "if the requested resource exist, just serve it" | |
8 | RewriteCond %{REQUEST_FILENAME} !-f | |
9 | RewriteCond %{REQUEST_FILENAME} !-d | |
10 | ||
11 | # redirect anything else to index.php (which will analyze the URI) | |
12 | RewriteRule . index.php | |
13 | </IfModule> |