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