The below code when added to an htaccess file will automatically redirect any traffic destined for http: to https:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
The below code when added to an htaccess file will automatically redirect any traffic destined for http: to https:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
42 Пользователи нашли это полезным (1 голосов)
Популярное
We use cookies to learn where you struggle when you're navigating our website and them for your future visit, learn more about cookies in our terms of use