SHOW:
|
|
- or go back to the newest paste.
1 | # URL Rewriting DotClear 2 | |
2 | - | [i]# URL Rewriting DotClear 2 |
2 | + | |
3 | RewriteRule ^fr/([\w-]+)/([\w-]+)$ index.php?category=$1 [L] | |
4 | ||
5 | Redirect 301 /dotclear/ /fr/ | |
6 | Redirect 301 /dotclear/public/ /dtc/public | |
7 | ||
8 | # mod_rewrite | |
9 | ||
10 | ||
11 | RewriteBase / | |
12 | ||
13 | RewriteRule ^([^\.]+)\index.php?$ $1 [NC,R=301,L] | |
14 | RewriteRule ^([^\.]+)$ $1.php [NC,PT,L] | |
15 | ||
16 | ||
17 | # Generic | |
18 | ||
19 | #DirectoryIndex index.php index.html | |
20 | #Options +FollowSymLinks | |
21 | #Options -Indexes | |
22 | #php_value register_globals 0 |