LovePrestashop Posted July 29, 2011 Share Posted July 29, 2011 Dear Friends, I have checked my google web master tool and I saw lots of duplicated meta description and titles. E.g. /laptops/6-macbook.html /modules/sendtoafriend/sendtoafriend-form.php?id_product=6 Sure it was caused by "send to a Friend" module. You may say why don't you use rebots.txt to disable access? Yes, I did that, I have "Disallow: /modules/" in my rebots.txt file which was generated by prestashop. My Question is should I uninstall the 'send to a friend' module as it produces the duplicated title and meta description? Thanks Link to comment Share on other sites More sharing options...
Dim Dukov Posted December 7, 2011 Share Posted December 7, 2011 the same problem here, any help Regards Link to comment Share on other sites More sharing options...
kenchi Posted December 8, 2011 Share Posted December 8, 2011 Me too, who helps us Link to comment Share on other sites More sharing options...
pel024 Posted December 8, 2011 Share Posted December 8, 2011 I've just noticed these pages appearing in google also, even though I have the prestashop robots.txt which disallows the entire /modules directory. Anyone know how to prevent google from crawling these pages? Link to comment Share on other sites More sharing options...
Ronaldo Perez Posted December 8, 2011 Share Posted December 8, 2011 My Question is should I uninstall the 'send to a friend' module as it produces the duplicated title and meta description? No, remove the module is not necessarily enough to block in robots. Changes in the indexing of your site do not occur instantly, after a while Google will remove from the index page of the module I have the prestashop robots.txt which disallows the entire /modules directory. you have made changes in robots.txt - before indexation of module pages by Google or after? Link to comment Share on other sites More sharing options...
pel024 Posted December 10, 2011 Share Posted December 10, 2011 @SergeyH - I generated the robots.txt fairly recently so I guess google had indexed the pages before this. I assume these pages will gradually fall out of the index over time now they are blocked? Link to comment Share on other sites More sharing options...
Ronaldo Perez Posted December 10, 2011 Share Posted December 10, 2011 yes, you can also go to GWT - site config - url parameters and deny indexing some URL Link to comment Share on other sites More sharing options...
michaelchan0427 Posted December 12, 2011 Share Posted December 12, 2011 How about add a canonical URL meta tags? Take a look here http://www.seomoz.org/blog/canonical-url-tag-the-most-important-advancement-in-seo-practices-since-sitemaps Link to comment Share on other sites More sharing options...
Mr S Posted December 12, 2011 Share Posted December 12, 2011 I had the same problem its is a small fix edit your file: /modules/sendtoafriend/sendtoafriend.php public function displayPageForm() public function displayPageForm() { if (!$this->active) {Tools::display404Error();} global $smarty; $smarty->assign(array('nobots' => true)); include(dirname(__FILE__).'/../../header.php'); echo $this->displayFrontForm(); include(dirname(__FILE__).'/../../footer.php'); } Link to comment Share on other sites More sharing options...
Ronaldo Perez Posted December 12, 2011 Share Posted December 12, 2011 yes 'nobots' => true header <meta name="robots" content="{if isset($nobots)}no{/if}index,follow" /> although you can close in robots Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now