Control Web Panel
WebPanel => SSL => Topic started by: muhittin on September 29, 2015, 05:47:49 PM
-
i installed purchase SSL it is working, no problem. But my site not open automatic https://www.mysite.tls. only manual type https://www.mysite.tls
how i setup my site open automatic https?
-
Hi.
You can using some redirect in .htaccess file.
Something like:
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
-
Thank you Igor for your answer.
i try your answer on my public_html/.htaccess file and public_html/mydomain.com/.htaccess but my problem not solved.
i am using drupal this domain, is drupal problem for this my issue?
have you another solve?
-
i am solved problem ;)
write this in .htaccess
RewriteEngine On
RewriteCond %{SERVER_PORT} !=443
RewriteRule ^ https://www.yourdomain.com%{REQUEST_URI} [NS,R,L]
thank you Igor S, your answer is more helpfull me
all is that. good luck