Reply
http and https redirects
Old 06-18-2009, 04:47 PM http and https redirects
Novice Talker

Posts: 11
Name: Eric
Trades: 0
I have a website with a store section and I have never worked with httpd or htaccess or whatnot.

How would I make it so anything under the http://www.mysite.com/store/ directory automatically redirects to https://... , while any other directory automatically redirects to http?

For example, if customer were to type in http://www.mysite.com/store/cart.php, it would automatically redirect to "https://www.mysite.com/store/cart.php". If customer typed in "https://www.mysite.com/" it would redirect to "http://www.mysite.com/".

Thanks for any suggestions! Much appreciated.
yangez is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 06-18-2009, 06:10 PM Re: http and https redirects
Brian07002's Avatar
Defies a Status

Posts: 1,552
Name: ...
Location: ...
Trades: 0
Here's a good bit of info on that topic:

http://www.google.com/#hl=en&q=https...fp=Yxcf45uQ1Fc
__________________
Sig Less - Have some site you want me to put here? Will put here for a couple of paypal bucks.
Brian07002 is offline
Reply With Quote
View Public Profile
 
Old 06-19-2009, 11:14 AM Re: http and https redirects
Novice Talker

Posts: 11
Name: Eric
Trades: 0
Nice. Thanks for those last two links.
yangez is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to http and https redirects
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.10711 seconds with 13 queries