Michael Posted December 2, 2013 Report Posted December 2, 2013 I was helping a customer out with their Blesta install and I can't seem to get the force SSL working via .htaccess. I've always used this code: RewriteEngine On RewriteCond %{HTTP_HOST} ^www.domain.com [NC] RewriteRule ^(.*)$ http://domain.com/$1 [L,R=301] RewriteCond %{SERVER_PORT} ^80$ RewriteRule .* https://domain/{REQUEST_URI} [R,L] But when you go to the portal: The following don't work: - Support Tickets - Order - Downloads I'm a bit confused because if you remove the code and go to https:// it works fine but I want to force SSL. ariq01 1 Quote
0 Cody Posted December 2, 2013 Report Posted December 2, 2013 Forcing HTTPS. Since you made the redirect a 301 you might need to clear you'll probably need to clear your cache to see the change. kikloo and Michael 2 Quote
0 Michael Posted December 2, 2013 Author Report Posted December 2, 2013 Forcing HTTPS. Since you made the redirect a 301 you might need to clear you'll probably need to clear your cache to see the change. Thanks mate i'll try that and use that in the future shorter Edit: Cody you are a legend thank you. ariq01 1 Quote
Question
Michael
I was helping a customer out with their Blesta install and I can't seem to get the force SSL working via .htaccess.
I've always used this code:
But when you go to the portal: The following don't work:
- Support Tickets
- Order
- Downloads
I'm a bit confused because if you remove the code and go to https:// it works fine but I want to force SSL.
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.