Advertisement
Guest User

Untitled

a guest
Apr 16th, 2014
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. RewriteEngine On
  2.  
  3. RewriteCond %{QUERY_STRING} ^$
  4. RewriteRule ^index_el.php$ /el/? [R=301,NE,NC,L]
  5.  
  6. RewriteCond %{QUERY_STRING} ^$
  7. RewriteRule ^index.php$ /? [R=301,NE,NC,L]
  8.  
  9. RewriteEngine On
  10.  
  11. RewriteCond %{THE_REQUEST} s/+(?:index_?)?(.*?).php[s?] [NC]
  12. RewriteRule ^index /%1 [R=301,L,NE,NC]
  13.  
  14. RewriteRule ^el/? /index_el.php [L,NC]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement