Friday, April 3, 2015

Shopify https redirect


Can we redirect the https version of a site to the http version? The https version of our web site is messed up - doesn't load the heros, makes the media section of the HP all weird, and probably are more bugs. Don't know why but for some reason it's always been like that since I got here.
yes, normally I would accomplish this with htaccess.  Which is an option we are not given in shopify, when i looked to do similar in the shopify gui I was unable. Depending on the registrar, I believe it can be possible to set through the registrar's gui. 
As i stated in the email In the blog last week, google more and more is going to be looking for and at ssl certificates.  So the preferred version would actually be to use https, so we should work to solve errors in the https version of the site.
Currently the domains have the cannonical in http so they should not be found in search.  Only the 2 urls that are strictly https are currently shown in google.  Neither url is available to read due to htaccess.  These wont be found in a normal long tail query.
User may currently reach these other secure pages through direct connect or links.

The HTTPS version of the site should work when all the links and URLS are stripped of the http: component. They aren't loading since they're not secure and linked via http:// instead of https://. 
If we change the links from say https://ajax.googleapis.com/ajax/libs/angularjs/1.2.6/angular-animate.js to //ajax.googleapis.com/ajax/libs/angularjs/1.2.6/angular-animate.js, then the browser will obtain the appropriate version based on the current http or https.