Advertisement
Guest User

301 rules

a guest
Apr 2nd, 2015
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. RewriteCond %{HTTP_HOST} ^miosito\.it$ [OR]
  2. RewriteCond %{HTTP_HOST} ^www\.miosito\.it$
  3. RewriteRule ^(.*)$ "http\:\/\/www\.miosito\.com\/$1" [R=301,L]
  4.  
  5.  
  6. RewriteCond %{HTTP_HOST} .
  7. RewriteCond %{HTTP_HOST} !^www\. [NC]
  8. RewriteRule ^ http%{ENV:protossl}://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement