If you want to force your entire website to go through https, you can add these rules to your .htaccess file:







If your site is in a subfolder, use this code:








Simply replace yourdomain.com with your actual domain name.

Esta resposta foi útil? 2 Utilizadores acharam útil (4 Votos)