How i could redirect my complete site to https?

If you really need all your site work through your SSL certificate (you must have a certificate installed already), add the following lines in your .htaccess file in your public_html directory, if the .htaccess file is not there, create it:


RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$1 [L,R]


Replace "" with your real domain name.

  • 0 Users Found This Useful
Was this answer helpful?
Related Articles
Copyright © 2020 PlusPlusHosting.Net. All Rights Reserved. is an authorized reseller of goods and services provided by PlusPlusHosting.Net.