BIP KB:
How To Redirect Apache NON-SSL to SSL
If you want to force your site visitors to view your web site over an SSL connection and you have your SSL vhost already properly created in Apache, you can add the following to your .htaccess file in the root of your site:
Tags: apache, Redirect, NON SSL, SSL
RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Tags: apache, Redirect, NON SSL, SSL
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
![]() This work is licensed under a Creative Commons Attribution- NonCommercial-ShareAlike 4.0 International License. |