sinister1 Posted April 8, 2009 Share Posted April 8, 2009 Hello, I need to redirect https://domain.com to https://www.domain.com i've tried the options: RewriteEngine on RewriteCond %{HTTP_HOST} ^https://domain.com$ [NC] RewriteRule ^(.*)$ https://www.domain.com/$1 [R=301,L] RewriteEngine on RewriteCond "%{SERVER_PORT}" "^443$" RewriteRule "^(.*)$" "https://www.domain.com/$1" [R=301,L] Is ther anyone who can help with this? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.