Advertisement
Guest User

Untitled

a guest
Nov 25th, 2015
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. RewriteEngine On
  2.  
  3. RewriteRule ^(|/)$ index.php?url=$1
  4. RewriteRule ^([a-zA-Z0-9_-]+)(|/)$ index.php?url=$1
  5. RewriteEngine on
  6. RewriteRule ^(.*)\.htm$ $1.php [NC]
  7.  
  8. RewriteEngine on
  9. RewriteRule ^(|/)$ dash.php?page=$1
  10. RewriteRule ^([a-zA-Z0-9_-]+)(|/)$ dash.php?url=$1
  11. RewriteRule ^(community/staff)$ staff
  12. RewriteRule ^news/(.*)/?$ index.php?url=news&id=$1 [L]
  13. RewriteRule ^home/([a-zA-Z0-9_-]+)(|/)$ index.php?url=home&user=$1
  14.  
  15. RewriteEngine on
  16. RewriteRule ^account/([a-zA-Z0-9_-]+)(|/)$ index.php?url=account&tab=$1 [L]
  17. RewriteRule ^badgeshop/([a-zA-Z0-9_-]+)(|/)$ index.php?url=badgeshop&tab=$1 [L]
  18.  
  19. RewriteEngine on
  20. RewriteCond {R:1} !^onepage/(.*)$
  21. RewriteCond %{HTTPS} ^ON$
  22. RewriteRule (.*) http://{HTTP_HOST}/$0 [r=301,L]
  23. RewriteCond %{HTTP_USER_AGENT} Wordpress
  24. <Files .*>
  25. ErrorDocument 403 "Forbidden: Access is denied."
  26. </Files>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement