Open joviczarko opened 7 years ago
This is done using .htaccess and the details can be found on the server pilot documentation:
https://serverpilot.io/community/articles/how-to-force-SSL-by-redirecting-http-to-https.html
Unfortunately I keep getting redirected to http: and wordpress is no longer accessible as I get a redirection error.
If it’s constantly redirecting then it’s more than likely a plug-in or core Wordpress setting which has http set. I would remove the redirect, check your settings in WP and any plugins you have a try again.
I actually ran into the same issue. The http
version wouldn't even load (apparently it wasn't listening for port 80) so the .htaccess
never kicked in.
Maybe it would be a good idea to make this option so after installing certificate we have option to redirect all traffic to HTTPS. Like the Certbot does it. If I figure out how it should be done I'll make a pull request.