Hi All,
Please help me to write the url rewrite condition for my domain. my concern is, if i give
mydomain.in or www.mydomain.in, it should redirect to https://www.mydomain.in.
i have given as fallows but it is not working. With this condition, when i give mydomain.in, it is going to http://mydomain.in.
when i give www.mydomain.in, it is going to https://www.mydomain.in.
RewriteEngine on
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]
Please help me in this issue.