Force redirect website to the SSL Certification connection using .htaccess file

Force SSL connection for all pages.

You may need to edit the below code in your .htaccess file:

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

Note: If you are a windows user you may proceed to let our support knows on the rules on which your side wish to redirect the website as windows base hosting do have a different type of rules to be implemented from the back end.

Add Feedback