Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteEngine On
- RewriteCond %{HTTPS} !=on
- RewriteCond %{HTTP_HOST} ^(www.)?example.com$
- RewriteRule ^/?(.*)$ https://www.example.com/$1 [R=301,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement