Ms Holly Posted December 30, 2014 Share Posted December 30, 2014 I have products that are very similar that I want to list as seperate products and do not want to write totally different products descriptions for or link them to another page. Is there an easy way to do canoncial tags to product listings in cube cart 5. I could add them to the html in product listing description but this will end up in the middle of the html so Im not sure it would be effective. Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 30, 2014 Share Posted December 30, 2014 "Is there an easy way to do canonical tags to product listings." The latest versions of CubeCart automatically make <meta canonical> tags based on the search-engine-friendly phrase ('sef') you provide when editing the product details. If you do not have "Search Engine Optimization" enabled in Store Settings, the canonical URL takes the form of the standard product URL. If you do not specify a 'sef' phrase, CubeCart will create one automatically from the name(s) of the category plus the name of the product. Quote Link to comment Share on other sites More sharing options...
debindubai Posted January 9, 2015 Share Posted January 9, 2015 I checked the source code of my product pages following an error message from Bing webmasters and find that all my product pages contain the same canonical link <link rel="canonical" href="http://www.wildwarehouse.com/index.php?_a=product"> as I have not specified this myself I assume it has happened automatically, how can I correct this and prevent it from happening again. I am currently using version 5.2.14 Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 9, 2015 Share Posted January 9, 2015 The ?_a=product (or category or document) is is a known bug, fixed in CC5215. In the file /classes/gui.class.php, near line 217 (CC5214): Was: $GLOBALS['smarty']->assign('CANONICAL', currentPage(true, null, false)); Now: $GLOBALS['smarty']->assign('CANONICAL', currentPage(false, null, false)); Quote Link to comment Share on other sites More sharing options...
debindubai Posted January 10, 2015 Share Posted January 10, 2015 Hi Bsmither thank you for your rapid reply, I have upgraded to the latest version and that has taken care of it. Deb Quote Link to comment Share on other sites More sharing options...
Ms Holly Posted November 2, 2015 Author Share Posted November 2, 2015 So cubecart automatically does canonical url with the seo frienly urls how about if I have two very similar products that I want google to direct to the one link using rel="canonical". Is there somewhere I can put this line? Does that make sense? Thanks Holly Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.