svgmx5 Posted February 25, 2010 Share Posted February 25, 2010 Does anyone know how i can have users automatically get sent to an https:// part of the site? I want people to automatically go to the https://www.site.com/account instead of just the http does that make sense? Link to comment https://forums.phpfreaks.com/topic/193315-http-to-https/ Share on other sites More sharing options...
trq Posted February 25, 2010 Share Posted February 25, 2010 RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} Link to comment https://forums.phpfreaks.com/topic/193315-http-to-https/#findComment-1017864 Share on other sites More sharing options...
svgmx5 Posted February 25, 2010 Author Share Posted February 25, 2010 Awesome that did the trick Thanks! Link to comment https://forums.phpfreaks.com/topic/193315-http-to-https/#findComment-1017865 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.