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? Link to comment https://forums.phpfreaks.com/topic/153122-redirect-httpsdomaincom-to-httpswwwdomaincom/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.