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