RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
You an add the following code to the top of your .htaccess file to redirect all http traffic to https
- 4 أعضاء وجدوا هذه المقالة مفيدة