Force https

quentin
Forums
How can i force https usage on my opigno platform ? Thank you for reading.
axel

Hi Quentin,

Hi Quentin,

Of course, you can add some redirect in your .htaccess, for example:

  RewriteEngine on  RewriteCond %{HTTP_HOST} ^www\.example\.com [NC]  RewriteRule ^(.*)$ https://www.example.com/$1 [L,R=301]  RewriteCond %{HTTPS} !=on  RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L] 
quentin

Hi Axel

Hi Axel, Ok thank you for your quick answer, I was wondering if there was a way to do this somewhere in the administration panel. I guess not. Best,