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