From Http to Https

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • you can change .htaccess to force HTTPS connections

      <IfModule mod_rewrite.c>
      RewriteEngine On
      RewriteCond %{HTTPS} off
      RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
      </IfModule>
    • For first, thanks for your reply!

      I add the code in my .htaccess but i think that don't work because when I try to open with the https it does not load the page, but always loads it with http only.
    • maybe it can be useful to someone.


      I used Let's Encrypt certificates.
      There is a very simple guide on how to install them on ubuntu.



      thank you all for the answers!