Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

http to https redirect htaccess

RewriteEngine On 
RewriteCond %{HTTPS} off 
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Source by www.bluehost.com #
 
PREVIOUS NEXT
Tagged: #http #https #redirect #htaccess
ADD COMMENT
Topic
Name
3+6 =