SSL Certificate on Subdomain

If you have ssl installed on your domain and you want to add SSL certificate on Subdomain 

Code paste ths code into your .htaccess file 


I have added the below HTTPS redirection code into the .htaccess file and the issue got fixed.
<IfModule mod_rewrite.c>
# BEGIN Force http to https
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*) https://%{HTTP_HOST}/$1 [R=301,L]
# END Force http to https
</IfModule>


Thank You 

No comments:

Post a Comment

Pages