BIP KB:
How To Redirect HTTP Traffic To HTTPS Using An .htaccess File

Article By lee


img

Apache htaccess for BIPmedia.com VPS Server The below code, when added to a .htaccess file, will automatically redirect any traffic destined for http: 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 A SECURE VPS SERVER TODAY!

Leave a Reply



Feedbacks