Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4030202
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:26:30+00:00 2026-05-20T11:26:30+00:00

For a site with shopping cart we have https working on the domain.com/shop-2/cart location.

  • 0

For a site with shopping cart we have https working on the domain.com/shop-2/cart location. When a user leaves the cart to other links on the site they are still sitting in HTTPS mode which is slow and actually gives an error b/c items on other pages are not setup for https connections.

I’ve been able to successfully detect https requests and redirect them to http but it’s not appending the current user location (ie https:// domain.com/test should be http:// domain.com/test but comes out http:// domain.com). I’ve appended the redirect code I’m working with so far. I’m trying to get it to leave shop-2 alone since I want an SSL connection there.

RewriteEngine On
RewriteCond %{ENV:HTTPS} =on
RewriteCond %{REQUEST_URI} !^/shop-2
RewriteRule (.*) http://domain.com/%1 [R=301,L]

We’re working on a Rackspace Cloud Sites server hence the ENV:HTTPS. HTTPS alone doesn’t actually detect that we’re on HTTPS because of some proxy layer on a different IP.

The spaces are in the domain examples b/c I don’t have enough rep to post more than 2 links.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T11:26:30+00:00Added an answer on May 20, 2026 at 11:26 am
    RewriteRule (.*) http://domain.com/$1 [R=301,L]
    

    $ is the signifier for a group, not %.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following scenario: The user has an on-site shopping cart where he
I am trying to build a shopping cart site. When a user click add
Im implementing a site with shopping cart features and want the user to be
I have created a shopping cart site, and i have got two complains for
A shopping cart application I'm working on jumps domain when it goes from the
I have seen a demo of simple shopping cart for an e-commerce site at
I have a shopping cart display button on the top of my site and
The situation... I am creating a shopping cart for a asp.net site. I have
I'm working on an online shopping cart site which is in ASP.NET MVC3. I'm
I have a simple shopping cart web site that uses a MySQL database to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.