Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. RewriteEngine On
  2. RewriteCond %{HTTPS} !=on
  3. RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L]
  4.  
  5. RewriteEngine On
  6. RewriteCond %{HTTP_HOST} ^website.com$
  7. RewriteRule ^(.*)$ https://website.com/$1 [R=301,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement