Hello, Following is my .htaccess file RewriteEngine On RewriteCond %{HTTP_HOST} ^domain.com RewriteRule (.*) http://www.domain.com/$1 [R=301,L] RewriteCond %{HTTPS} on RewriteCond %{HTTP_HOST} !^www.domain.com [NC] RewriteRule ^(.*)$ https://www.domain.com/$1 [R=301,L] I am trying to redirect non-www http://domain.com and https://domain.com and http://www.domain.com to > https://www.domain.com But it is not happening? what is wrong? Thanks for the help Toniya
Do you have .htaccess files enabled in your httpd.conf? Is mod_rewrite working? Also, you can try appending to your httpd.conf: Redirect permanent / https-link (change https-link to full link to www website with https)