HELP - Secure all pages feature
HELP - Secure all pages feature
Every time I change this to secure all pages it converts the site to all SSL, but when you go back in the site url reverts back to http -- the site stays https, but all canonical links are still pointing to http. I was in the middle of the migration when I realized this. Please advise. Using R12 SR1
Re: HELP - Secure all pages feature
I created a temp fix from here following from here: viewtopic.php?f=65&t=18567
Edit:
Change PageHelper.cs, BindMetaTags:
string objectUrl = storeUri.Scheme + "://" + storeUri.Authority + page.ResolveUrl(catalogObject.NavigateUrl);
to
string objectUrl = "https://" + storeUri.Authority + page.ResolveUrl(catalogObject.NavigateUrl);
However, the Store URL here Administration > Configure > Security > System Settings
will not change or stay at https
Edit:
Change PageHelper.cs, BindMetaTags:
string objectUrl = storeUri.Scheme + "://" + storeUri.Authority + page.ResolveUrl(catalogObject.NavigateUrl);
to
string objectUrl = "https://" + storeUri.Authority + page.ResolveUrl(catalogObject.NavigateUrl);
However, the Store URL here Administration > Configure > Security > System Settings
will not change or stay at https
Re: HELP - Secure all pages feature
As far as I know, all the SSL issues were fixed in Gold R12 and patched for Gold R11.
Please make sure you don't have any customizations that might be causing this to happen.
Thanks,
Katie
Please make sure you don't have any customizations that might be causing this to happen.
Thanks,
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: HELP - Secure all pages feature
I'm not aware of any customization we have that would affect this. Bottom line is the Store URL won't change to https, just reverts back. I thought I did a quick test a few days ago after upgrading to R12SR1 and everything looked right. Turned it off, did some migration preparation and when we switched it back on this issue showed up.
Re: HELP - Secure all pages feature
I have to ask. What is the Store URL on the Configure > Security > System Settings page. It should be https if you have Secure All Pages turned on.
If you try to access the admin side with a secure https connection, does it actually redirect to non-secure? What happens if you try a different browser?
If you try to access the admin side with a secure https connection, does it actually redirect to non-secure? What happens if you try a different browser?
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: HELP - Secure all pages feature
I've attached a picture of my admin right now. Secure all pages is ON and the site is showing up as https and providing 301 redirects from the http versions. I'm not sure how it works in https when the store URL wont change from http, but it is. Being that the store URL reverts back to the http version, I applied the fix above to address the canonical links pointing to the http pages.
Is there something in licensing that only allows for http, making it revert back?
Is there something in licensing that only allows for http, making it revert back?
Re: HELP - Secure all pages feature
There is javascript in this page to automatically change the store URL to https://www...
I don't know why yours is still showing http. This is the reason it keeps reverting back to non-ssl. It needs to be https in the Store URL field.
The licensing does not change how this feature works unless you have a different domain for the SSL.
I don't know why yours is still showing http. This is the reason it keeps reverting back to non-ssl. It needs to be https in the Store URL field.
The licensing does not change how this feature works unless you have a different domain for the SSL.
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: HELP - Secure all pages feature
Any idea how I can get https to stick? My main concern was the canonical link, but I'd imagine the store URL is pulled from there for other purposes as well and it should be correct.
Re: HELP - Secure all pages feature
I don't know why it wouldn't be working. Can you try a different browser? Can you also try unchecking Secure All pages and rechecking it again?
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: HELP - Secure all pages feature
Hmmm --
I'm having the same error on this site. No matter what I attempt to do, I cannot get the store to "save" the proper state for enabling SSL on the "whole site".
GoldR12 (build 9168)
Every time I check the box for "Secure All Pages" and then hit "Save", the page hangs.
Chrome shows the following error (see image)..... but unsure why. Scroll all the way down on the image below -- see the actual error reported by Chrome at the bottom of the image.
I'm having the same error on this site. No matter what I attempt to do, I cannot get the store to "save" the proper state for enabling SSL on the "whole site".
GoldR12 (build 9168)
Every time I check the box for "Secure All Pages" and then hit "Save", the page hangs.
Chrome shows the following error (see image)..... but unsure why. Scroll all the way down on the image below -- see the actual error reported by Chrome at the bottom of the image.