I'm having trouble redirecting:
https://example.com to https://www.example.com.
I've currently got this and its not achieving the result I need and I'm not sure why:
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
I basically want to redirect everything to https://www.example.com
I appreciate any help.
https://example.comyou get an SSL warning, I was hoping the rewrite would overcome this? – Abs Mar 23 '12 at 15:32