andros1983 Posted January 11 Share Posted January 11 (edited) Hello, in my Prestashop how can I put the nofollow and noindex tags ONLY on the pages generated in the faceted search? These pages contain these symbols that I attached ?q= Hundreds of thousands of combinations are being generated in the search engines that I do not want to be tracked. I attach an example. Edited January 12 by andros1983 (see edit history) Link to comment Share on other sites More sharing options...
Daresh Posted January 11 Share Posted January 11 What version of PrestaShop are you using? Our BotMaster module allows you to set nofollow and noindex for pages and categories. Adding parameters to it would be a great idea, but the minimum required version there is 1.7.7. Link to comment Share on other sites More sharing options...
andros1983 Posted January 11 Author Share Posted January 11 I have prestashop 8.1 Link to comment Share on other sites More sharing options...
andros1983 Posted January 11 Author Share Posted January 11 I only want to add nofollow no index to faceted search combinations, the ones that have this simbols ?q= I have more than 100.000 pages generated on google search console with combinations of faceted searchz Link to comment Share on other sites More sharing options...
Daresh Posted January 11 Share Posted January 11 Yes, I understand your issue. A module is the cleanest way to achieve it, so I'll work on extending my module to have such an option and you will decide what solution to choose Link to comment Share on other sites More sharing options...
andros1983 Posted January 11 Author Share Posted January 11 Thank you, please let me know when this is implemented and I will buy it. But please let me know if it only affects those types of pages, the rest like home, products, categories, cms, blogs etc. Im leave it untouched. Please let me know Link to comment Share on other sites More sharing options...
Daresh Posted January 11 Share Posted January 11 Yes, you have full control over what is affected and what remains untouched. Link to comment Share on other sites More sharing options...
andros1983 Posted January 11 Author Share Posted January 11 Ok thanks a lot let me know when it's ready Link to comment Share on other sites More sharing options...
Daresh Posted January 11 Share Posted January 11 Allright, it is ready now You can see it here on the demo store: A normal category: https://greenmou.se/demo178/6-accessories A category with a filter: https://greenmou.se/demo178/6-accessories?q=Composition-Ceramic BotMaster module Link to comment Share on other sites More sharing options...
andros1983 Posted January 11 Author Share Posted January 11 Normal category says not indexable. Please check before i buy. Link to comment Share on other sites More sharing options...
Daresh Posted January 11 Share Posted January 11 Yes we have a general server-side setting for the greenmou.se domain to noindex and nofollow so our "work in progress" and demo stores are not indexed. I disabled it now so you can check it out, but I need to re-enable it soon 🙂 Link to comment Share on other sites More sharing options...
andros1983 Posted January 11 Author Share Posted January 11 Ok I'm going to buy it soon, so if I only want to block the faceted search filters would I have to leave everything unchecked and put this that I attached in the photo? Link to comment Share on other sites More sharing options...
Daresh Posted January 11 Share Posted January 11 Yes, exactly. Just put the "q" value in both these fields and you should have the desired effect. Link to comment Share on other sites More sharing options...
andros1983 Posted January 11 Author Share Posted January 11 Hi, I just bought the module, I sent you a message through support. We'll talk there, thanks. Link to comment Share on other sites More sharing options...
Olena123 Posted January 13 Share Posted January 13 Hi. Does anyone know how to add noindex without adding modules? I tried adding the code to my htaccess but it doesn't work: SetEnvIf Request_URI "(.*)home-1(.*)" is_private=1 <IfModule mod_headers.c> Header add X-Robots-Tag "noindex,nofollow" env=is_private </IfModule> Link to comment Share on other sites More sharing options...
Olivier CLEMENCE Posted January 15 Share Posted January 15 Hello you can use my noIndex module to do that : https://addons.prestashop.com/en/seo-natural-search-engine-optimization/30924-op-art-noindex-improve-your-seo-avoid-google-penalty.html Link to comment Share on other sites More sharing options...
Olena123 Posted Wednesday at 01:05 PM Share Posted Wednesday at 01:05 PM Hello. So I added my code to head.tpl and it works! 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