If you want to force the https:// connection on your website, you have to add the following lines inside the website’s .htaccess file:

 

 

 

RewriteEngine On

RewriteCond %{HTTPS} off 

RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

هل كانت المقالة مفيدة ؟ 1 أعضاء وجدوا هذه المقالة مفيدة (1 التصويتات)