How to configure htaccess to redirect ALL traffic through https?
I'm looking for a way to redirect users to https://domain.com whether they type the www or not
I'm using a shared host for a drupal website so i don't have access to virtual host config files.
A let's encrypt certificate if included with the hosting package
Right now the website can be accessed both with http and https depending on what you type in the browser.
In looking for a solution to force redirection to https i found this section in the in the .htaccess file that redirects users who type the www. to https://domain.com
Now i'm looking for a way to redirect when typing http://domain.com without the www.
Do i need to put another rule somewhere in addition to the line i uncommented or is there some other way to do this ?