SSl Works only for non www
Posted: Mon Dec 26, 2016 12:54 pm
Hi There
I use Let's Encypt to make http://domian.com as https and added
{
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.domian\.com [NC]
RewriteRule ^(.*)$ https://domian.com/$1 [L,R=301]
}
to htaccess.
I tried to redirect https://www.domian.com to https://domian.com, but without success. However, http://www.domian.com (without ssl protocol) redirects to https://bidbarg.com. Can you do me a favor and help me on this isuue?
I face this problem only in firefox and IE, however in chrome it works.
I use Let's Encypt to make http://domian.com as https and added
{
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.domian\.com [NC]
RewriteRule ^(.*)$ https://domian.com/$1 [L,R=301]
}
to htaccess.
I tried to redirect https://www.domian.com to https://domian.com, but without success. However, http://www.domian.com (without ssl protocol) redirects to https://bidbarg.com. Can you do me a favor and help me on this isuue?
I face this problem only in firefox and IE, however in chrome it works.