Advertisement
Guest User

Untitled

a guest
Feb 27th, 2015
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. RewriteEngine On
  2. RewriteBase /
  3.  
  4. RewriteCond %{HTTPS} !=on
  5. RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  6.  
  7. RewriteCond %{REQUEST_FILENAME} !-d
  8. RewriteCond %{REQUEST_FILENAME} !-f
  9. RewriteCond %{REQUEST_FILENAME} !-l
  10.  
  11. RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement