Advertisement
Guest User

Untitled

a guest
Apr 16th, 2014
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. RewriteEngine on
  2.  
  3. RewriteCond $1 !^(index.php|images|img|themes|sparks|assets|promo|phase0|error_log|robots.txt|pinterest-d797d.html|license.txt|Boxfile|tools)
  4. RewriteRule ^(.*)$ index.php/$1 [L]
  5.  
  6. RewriteCond %{HTTP_HOST} !^www.
  7. RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
  8.  
  9. RewriteCond %{HTTP:X-Forwarded-Proto} =http
  10. RewriteRule (.*) https://%{HTTP_HOST}/$1 [R]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement