How can we help you?

How to force https using .htaccess?

Henry Blake
Written by
Henry Blake

In order to force https for all your pages you need to add the following lines to your .htaccess file:

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

You need to change to your own domain name.