مرکز آموزش
How to force redirection to HTTPS پرینت این مقاله
To force visitors to use HTTPS to access your site via your SSL certificate is to add the following to the top of a .htaccess file:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
آیا این پاسخ به شما کمک کرد؟
مقالات مربوطه
We don't enjoy suspending accounts
We only suspend accounts when absolutely necessary.If you are seeing a message that says your...
We only suspend accounts when absolutely necessary.If you are seeing a message that says your...
Firewall block - I can't connect to my website or email
If you find that you are unable to: open your website - it just times out or takes too long to...
If you find that you are unable to: open your website - it just times out or takes too long to...
Powered by WHMCompleteSolution