Advertisement
Guest User

Untitled

a guest
Jun 17th, 2014
547
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # URL Rewriting DotClear 2
  2. RewriteEngine On
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement