Fast2Host Logo

How to

How to reddirect all calls to http to https using .htaccess

How to redirect from non-secure http to secure (SSL) https

Create a .htaccess file in your wwwroot folder (Windows hosting) or your public_html folder (Linux hosting), containing the following, replacing with your domain name:


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

Maintain peace of mind with 24/7 UK based support

Email any time or call 01480 26 00 00 014 80 26 00 00