leelee23 Posted November 20, 2011 Share Posted November 20, 2011 Hi there, When adding products I've been using the Supplier field as a reference to myself, not one that I really want people to see. Having just looked through Google Webmaster Tools, I see that my site is being highlighted several times just due to the Suppliers that I've entered into the products. As a consequence, I've removed the Supplier.tpl and Supplier-list.tpl (as I don't actually use these anyway) and have removed Supplier.tpl from my gsitemap. Is there anything I'm missing with this to stop search engines picking up the Suppliers that I have? I thought maybe there might be something for .htaccess but it's something I'm pretty unfamiliar with. Appreciate any advice you can give on this. Cheers, Lee Link to comment Share on other sites More sharing options...
jhnstcks Posted November 20, 2011 Share Posted November 20, 2011 Depends which version of Prestashop you are using. In 1.4.5 there an option to not display manufacturers and suppliers. You can only do both, not one or the other. Its on the preferences tab near the bottom. The only other way is to do as you have done and remove the tpl files. Also make sure to edit the sitemap.tpl and delete the reference to suppliers in there. 1 Link to comment Share on other sites More sharing options...
leelee23 Posted November 20, 2011 Author Share Posted November 20, 2011 I'm using 1.4.4.1 so sadly, just missing out on that functionality! Thanks for the confirmation and highlighting sitemap.tpl - I'd forgotten about that one! Fingers crossed that does the trick then Link to comment Share on other sites More sharing options...
leelee23 Posted November 26, 2011 Author Share Posted November 26, 2011 Hmm sadly this didn't do the trick.. after waiting about a week (and pinging the site/page) it's still showing in Google. Could there still be some remains in the SitemapController.php that need to be removed? I've got the following: public function process() { parent::process(); self::$smarty->assign('categoriesTree', Category::getRootCategory()->recurseLiteCategTree(0)); self::$smarty->assign('categoriescmsTree', CMSCategory::getRecurseCategory(_USER_ID_LANG_, 1, 1, 1)); self::$smarty->assign('voucherAllowed', (int)(Configuration::get('PS_VOUCHERS'))); $blockmanufacturer = Module::getInstanceByName('blockmanufacturer'); $blocksupplier = Module::getInstanceByName('blocksupplier'); self::$smarty->assign('display_manufacturer_link', (((int)$blockmanufacturer->id) ? true : false)); self::$smarty->assign('display_supplier_link', (((int)$blocksupplier->id) ? true : false)); self::$smarty->assign('PS_DISPLAY_SUPPLIERS', Configuration::get('PS_DISPLAY_SUPPLIERS')); self::$smarty->assign('display_store', Configuration::get('PS_STORES_DISPLAY_SITEMAP')); } Too many 'supplier's in there for my liking! Link to comment Share on other sites More sharing options...
jhnstcks Posted November 27, 2011 Share Posted November 27, 2011 Google won't suddenly remove those pages from its cache just because you have blocked them/removed them. I have product pages going back months that google still has available that I don't have anymore. Link to comment Share on other sites More sharing options...
leelee23 Posted November 27, 2011 Author Share Posted November 27, 2011 Ah okies - I thought perhaps by resubmitting the sitemap, pinging etc.. that this might resolve it! I'll keep a look out on there! Cheers Link to comment Share on other sites More sharing options...
Dave L Posted November 27, 2011 Share Posted November 27, 2011 Hi guys, I'm a bit out of my depth on this sort of stuff but can't you add those two files to the robots.txt file which supposedly tells the search engines not to access those pages. Link to comment Share on other sites More sharing options...
jhnstcks Posted November 27, 2011 Share Posted November 27, 2011 You could do that Dave, but the problem is not all spiders/search engines comply with robot.txt protocol and will index your site regardless. Google then might crawl the site that indexed your site (yes Google crawls other search sites) and will still find your content. You could create a 301 redirect in your htaccess, so that any visitors to the supplier.php page will be redirected somewhere else. Link to comment Share on other sites More sharing options...
Dave L Posted November 27, 2011 Share Posted November 27, 2011 That's good to know. Thanks for the insight. It's all very interesting Link to comment Share on other sites More sharing options...
leelee23 Posted March 18, 2012 Author Share Posted March 18, 2012 My site went down yesterday, and as such in Google Webmaster Tools there were several errors of URLs Big G was unable to find... included in that, were all of my suppliers, which I understood I'd got rid of. And funnily enough, the links to all of these pages are still present in Google searches. I've just had another look in the sitemap, and the suppliers are definitley gone - but for some reason Google is finding their pages still. Any other suggestions aside from what I've already done above, would be greatly appreciated. Cheers, Lee 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