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.

Помог ли вам данный ответ? 2 Пользователи нашли это полезным (4 голосов)