301 Redirect from http to https

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
laramp
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 36
Joined: Tue Jul 25, 2006 1:01 pm

301 Redirect from http to https

Post by laramp » Fri Dec 26, 2014 4:35 pm

Can anyone tell me if there is a way to add a 301 redirect to the ablecommerce.config file in the securePages section below?
I am trying to make the entire site run under https... but the issue I have.... the pages are already indexed in Google and I need to use a 301 redirect Not 302
I have already tried adding a redirect rule to the web.config but the ablecommerce.config runs first and gives a 302 response in the header.
Any help would be great!
Thanks in advance.
<securePages enabled="true" ignoreHandlers="WithStandardExtensions">
<directories>
<add path="Admin" recurse="true" />
<add path="Members" recurse="true" />
<add path="Checkout" recurse="true" />
<add path="FCKeditor" recurse="true" state="Ignore" />
<add path="App_Themes" recurse="true" state="Ignore" />
<add path="Assets" recurse="true" state="Ignore" />
<add path="images" recurse="true" state="Ignore" />
<add path="js" recurse="true" state="Ignore" />
<add path="webcharts" recurse="true" state="Ignore" />
</directories>
<files>
<add path="Login.aspx" />
<add path="Members/MyWishlist.aspx" state="Off" />
<add path="Members/SendMyWishlist.aspx" state="Off" />
<add path="Admin/Utility/EditHtml.aspx" state="Ignore" />
</files>
</securePages>

User avatar
Shopping Cart Admin
AbleCommerce Admin
AbleCommerce Admin
Posts: 3055
Joined: Mon Dec 01, 2003 8:41 pm
Location: Vancouver, WA
Contact:

Re: 301 Redirect from http to https

Post by Shopping Cart Admin » Tue Dec 30, 2014 9:19 am

Hello Larry,

Just to recap what we spoke about in chat, I recommended Isapi_rewrite. Please let us know if you find an end solution to the 301 issue.
Thanks for your support

Shopping Cart Guru
AbleCommerce.com
Follow us on Facebook

Post Reply