clamor Posted February 17, 2015 Share Posted February 17, 2015 Hi Since late 2014 the number of URLs indexed from my site by Google has dropped from over 300 to 32. This seems to have coincided with upgrading to version 5.2.14. I posted a question on the Google Webmaster Central Help Forum about this today - see the response below: On all of your individual product pages you have this tag which tells Google that these two pages are essentially the same and you want the OTHER one indexed <link rel="canonical" href="http://www.recycledpatterns.com/shoppingcart/index.php?_a=product"/> Can anyone explain why this tag is appearing on the product pages and what I need to do? I know I can upgrade to newer versions of CubeCart but I don't want to move to beta versions at this stage and prefer to keep my licence key for now. Thanks for any assistance or advice you can provide. Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 17, 2015 Share Posted February 17, 2015 In the file /classes/gui.class.php, near line 220 (give or take a few): Was: $GLOBALS['smarty']->assign('CANONICAL', currentPage(true, null, false)); Now: $GLOBALS['smarty']->assign('CANONICAL', currentPage(false, null, false)); The _a=product part is appearing because of a bug introduced in CC5214 and fixed in CC5216. Quote Link to comment Share on other sites More sharing options...
clamor Posted February 17, 2015 Author Share Posted February 17, 2015 I am not sure what you mean. The tag is generating automatically and I am not skilled in coding. Quote Link to comment Share on other sites More sharing options...
clamor Posted February 17, 2015 Author Share Posted February 17, 2015 Hi Sorry, I missed the bit about the bug. Sounds like I have to upgrade to 5.2.16 after all. Thanks for the advice. Best regards Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 17, 2015 Share Posted February 17, 2015 You can upgrade, no harm in doing that. We can help with getting the file edited. Feel free to send a Private Message. 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.