ScriptPlazzaon Google+

The below code will automatically redirect any traffic from http://www.scriptplazza.com to https://scriptplazza.com.

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
Source: https://www.ndchost.com/wiki/apache/redirect-http-to-https
 

Leave a Comment

You must be logged in to post a Review.