SinPolY

Untitled

Oct 15th, 2016
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.22 KB | None | 0 0
  1. https
  2. RewriteEngine On
  3. RewriteCond %{HTTP_HOST} (?!^www\.)^(.+)$
  4. RewriteRule (.*) https://www.mysite.com/$1 [R=301,L]
  5.  
  6. pour le *www*
  7. RewriteCond %{HTTP_HOST} ^mysite$
  8. RewriteRule ^(.*) http://www.mysite/$1  [QSA,L,R=301]
Add Comment
Please, Sign In to add comment