Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
bugaloo
bugaloo
Hello,
 
If a user accesses one of our secure SSL pages, or completes an order, and then decides shop around some more they're stuck in https pages.
 
Is there a way to break out of this once they leave one of the pages we've designated to be https in ViArt?
 
The problem is, some pages issue the warning, "This page contains both secure and non-secure items." Don't want our clients to have to deal with that every few clicks. Would prefer that they were back in non-secure land for all other pages.
 
Thanks.
 
bugaloo
bugaloo
While it would still be great to see an answer in ViArt I found a work-around that doesn't require embedding the full URL into every link.
 
In case anyone else is interested in this issue I'm going to solve it (at least for now) like this:
 
A Canonical Link in the head of each page that needs to be non-https:
 
<link rel="canonical" href="http://www.this-page-non-secure.com/hurrah.html" />
 
SajMalik
SajMalik
bungaloo, I don't find that with m shop.
 
I have specified ssl only ...
on order profile page
on payment details pages
 
After placing an order on my set up and going to checkout, if I go back into the shop my url returns to http:
 
Chris
 
bugaloo
bugaloo
No kidding?
 
Are your links absolute, ie; http://www.yoursite.com/contact.html
 
or relative to the site like mine are; /contact.html
 
That's my problem, I don't want to hard code the full url into every link.
 
bugaloo
bugaloo
This:
 
<link rel="canonical" href="http://www.this-page-non-secure.com/hurrah.html" />
 
Isn't actually working properly. Back to the drawing board. Any ideas to make this work from within ViArt's settings?
Last modified: 13 Mar 2009 3:18 AM
 
SajMalik
SajMalik
The only absolute links I use are for images so that I only need to upload to one directory for a multi site set up.
 
Perhaps a question to Viart would make sense?
 
Chris
 
bugaloo
bugaloo
Sounds good. Thanks.
 
hcanning
hcanning
...and Viart what is your suggestion?
 
hcanning
hcanning
use this javascript for https (or other) to http
 
if (document.location.protocol != "http:")
{
document.location.href = "http://www.yoursite.com" + document.location.pathname;
};
 
this below code
<META HTTP-EQUIV="refresh" content="0;URL=page.php?page=no-javascript">
 
will detect disable javascript and divert to a enable javascript page