Advertisement
Guest User

Untitled

a guest
Jun 17th, 2014
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1.  
  2. [i]# URL Rewriting DotClear 2
  3. RewriteEngine On
  4. RewriteRule ^fr/([\w-]+)/([\w-]+)$ index.php?category=$1 [L]
  5.  
  6. Redirect 301 /dotclear/ /fr/
  7. Redirect 301 /dotclear/public/ /dtc/public
  8.  
  9. # mod_rewrite
  10.  
  11.  
  12. RewriteBase /
  13.  
  14. RewriteRule ^([^\.]+)\index.php?$ $1 [NC,R=301,L]
  15. RewriteRule ^([^\.]+)$ $1.php [NC,PT,L]
  16.  
  17.  
  18. # Generic
  19.  
  20. #DirectoryIndex index.php index.html
  21. #Options +FollowSymLinks
  22. #Options -Indexes
  23. #php_value register_globals 0[/i]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement