{"id":1883,"date":"2013-02-12T11:15:19","date_gmt":"2013-02-12T15:15:19","guid":{"rendered":"http:\/\/pro-webs.net\/blog\/?p=1883"},"modified":"2013-02-12T11:15:19","modified_gmt":"2013-02-12T15:15:19","slug":"zen-cart-relcanonical-ssl-store","status":"publish","type":"post","link":"https:\/\/pro-webs.net\/blog\/2013\/02\/12\/zen-cart-relcanonical-ssl-store\/","title":{"rendered":"Zen Cart rel=&#8221;canonical&#8221; for Your SSL Store"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-1887\" alt=\"ssl-zen-carts\" src=\"http:\/\/pro-webs.net\/blog\/wp-content\/uploads\/2013\/02\/ssl-zen-carts.jpg\" width=\"129\" height=\"128\" srcset=\"https:\/\/pro-webs.net\/blog\/wp-content\/uploads\/2013\/02\/ssl-zen-carts.jpg 129w, https:\/\/pro-webs.net\/blog\/wp-content\/uploads\/2013\/02\/ssl-zen-carts-48x48.jpg 48w, https:\/\/pro-webs.net\/blog\/wp-content\/uploads\/2013\/02\/ssl-zen-carts-98x98.jpg 98w, https:\/\/pro-webs.net\/blog\/wp-content\/uploads\/2013\/02\/ssl-zen-carts-42x42.jpg 42w, https:\/\/pro-webs.net\/blog\/wp-content\/uploads\/2013\/02\/ssl-zen-carts-64x64.jpg 64w, https:\/\/pro-webs.net\/blog\/wp-content\/uploads\/2013\/02\/ssl-zen-carts-108x108.jpg 108w\" sizes=\"auto, (max-width: 129px) 100vw, 129px\" \/>If you accept credit cards on your Zen Cart website you are required to be PCI compliant. That is just a fact. Given the shortsightedness of the PCI scanning companies and the speed at which the technology must develop, there will always be scan fails.<\/p>\n<p>I wrote about a PCI fail recently where the <a title=\"Your Zen Cart contact form is now supposed to be protected under SSL.\" href=\"http:\/\/pro-webs.net\/blog\/2012\/11\/15\/pci-pia\/\">Zen Cart contact form was failing PCI scans<\/a> for not being protected under SSL. Now, the action is under SSL and it&#8217;s certainly NOT sensitive information, but there is no convincing the scanning companies.<\/p>\n<p>The simplest solution is to set your whole website to use only SSL. It&#8217;s a nice caveat that this also helps build shopper trust and make more money! Even Facebook is SSL by default now, so people are becoming more aware of SSL pages. While certainly the general public doesn&#8217;t understand the whole thing&#8230; they think and have been lead to believe that site&#8217;s need SSL to be safe.<\/p>\n<p>Once you have set your entire site to SSL by changing both of your configure files to https links you will find the next snag, no more rel=&#8221;canonical&#8221; tags. Zen Cart&#8217;s canonical pages tags are awesome! They help you with SEO, reducing duplicate content and many other great perks. If only your SSL shop had them??<\/p>\n<p>Switching to full SSL will turn off your rel=&#8221;canonical&#8221; tags in all of your pages. While this may be a bit short sighted on the part of the Zen Cart Development Team&#8230; it&#8217;s easily fixed! Once you make the switches to all SSL pages you will eliminate SSL\/Non-SSL content duplication completely and fixing your canonical tag is necessary for a smooth transition in the search engines indexes.<\/p>\n<h2>How to Turn\u00a0 ON Canonical Tags for SSL Pages<\/h2>\n<p style=\"padding-left: 30px;\"><strong>Open includes\/init_includes\/init_canonical.php<\/strong><\/p>\n<p style=\"padding-left: 30px;\"><strong>Find:<\/strong><\/p>\n<p style=\"padding-left: 30px;\">\/**<br \/>\n* SSL Pages get no special treatment, since they&#8217;re not normally indexed<br \/>\n*\/<br \/>\ncase ($request_type == &#8216;SSL&#8217;):<br \/>\n$canonicalLink = &#8221;;<br \/>\nbreak;<\/p>\n<p style=\"padding-left: 30px;\"><strong>Change it to:<\/strong><\/p>\n<p style=\"padding-left: 30px;\">\/**<br \/>\n* SSL Pages get no special treatment, since they&#8217;re not normally indexed<br \/>\n*\/<br \/>\n\/\/ case ($request_type == &#8216;SSL&#8217;):<br \/>\n\/\/ $canonicalLink = &#8221;;<br \/>\n\/\/break;<\/p>\n<p>Bravo, now your full SSL Zen Cart Shop has the brilliant rel=&#8221;canonical&#8221; tag!<\/p>\n<p><span style=\"color: #ff0000;\"><strong>** Important note: DO NOT do this unless you are running a FULL SSL catalog. Doing so will result in canonical tags on both SSL and NON-SSL pages, thus duplicate content.<\/strong><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Switching to full SSL will turn off your rel=&#8221;canonical&#8221; tags. While this may be a bit short sighted on the part of the Zen Cart Development Team&#8230; it&#8217;s easily fixed! Once you make the switches to all SSL pages you will eliminate SSL\/Non-SSL content duplication completely and fixing your canonical tag is necessary for a smooth transition in the search engines indexes.<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[2595,2606,385,2473,2543,162,85,1115,2626],"class_list":["post-1883","post","type-post","status-publish","format-standard","hentry","category-ecommerce-seo","tag-canonical","tag-contact-form","tag-credit-cards","tag-pci-compliant","tag-pci-fail","tag-search-engines","tag-shoppers","tag-ssl","tag-zen-cart"],"_links":{"self":[{"href":"https:\/\/pro-webs.net\/blog\/wp-json\/wp\/v2\/posts\/1883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pro-webs.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pro-webs.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pro-webs.net\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/pro-webs.net\/blog\/wp-json\/wp\/v2\/comments?post=1883"}],"version-history":[{"count":0,"href":"https:\/\/pro-webs.net\/blog\/wp-json\/wp\/v2\/posts\/1883\/revisions"}],"wp:attachment":[{"href":"https:\/\/pro-webs.net\/blog\/wp-json\/wp\/v2\/media?parent=1883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pro-webs.net\/blog\/wp-json\/wp\/v2\/categories?post=1883"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pro-webs.net\/blog\/wp-json\/wp\/v2\/tags?post=1883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}