BIP KB:
How To Redirect HTTP to HTTPS using an .htaccess file

Article By salem


img

Redirect HTTP The below code when added to an .htaccess file will automatically Redirect HTTP traffic to https:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]



Tags: , , , , , , , ,

Spin up a VPS server in no time flat

Simple setup. Full root access. Straightforward pricing.

DEPLOY VPS SERVER

Leave a Reply



Feedbacks