Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
http from https
09-12-2010, 09:10 AM
Post: #1
http from https
the transfer protocol to http from https in a particular website
The following will force all the requests to a site to be redirected to the https:// version

Code:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule (.*) https://www.example.com/$1 [R=301,L]
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)