Advertisement
munsking

htaccess

Sep 24th, 2013
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. RewriteEngine On
  2. RewriteRule ^([^-]*)-([0-9]*)$ index.php?region=$2 [nc]
  3. RewriteCond %{REQUEST_FILENAME} -s [OR]
  4. RewriteCond %{REQUEST_FILENAME} -l [OR]
  5. RewriteCond %{REQUEST_FILENAME} -d
  6. RewriteRule ^.*$ - [NC,L]
  7. RewriteRule ^.*$ index.php [NC,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement