I think I got it. Both statements are necessary, I think... any comment?
RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://mysite.com/$1 [R,L]
RewriteCond %{HTTP_HOST} ^www.(.+)$ [NC] RewriteRule ^ https://%1%%7BREQUEST_URI%7D [L,R=301]
Thanks, Lynn Stott www.stottdesign.com 208.871.0073
On Jul 22, 2011, at 8:10 AM, Lynn Stott (Stott Design) wrote:
Can some help with .htaccess?
How do you redirect all https://www.site.com http://www.site.com http://site.com
to
Thanks,