djo1919 Posted February 24 Share Posted February 24 Hello, I am experiencing SEO issues related to search results and filter parameters on my PrestaShop website. The problem is that URLs with query parameters (e.g., ?q=, ?order=, etc.) are being indexed by Google, even though these pages are simply filtered or sorted versions of the same content. This is leading to potential duplicate content issues, and I want to make sure that only the main page URL (without parameters) is indexed. To resolve this, I have added a canonical tag to the filtered pages that points to the main page. For example, the canonical tag on pages like /home?q=filter1 or /home?order=price_asc points to /home to tell Google that all variations should be treated as one page. However, I am unsure whether this is sufficient to prevent indexing of the filtered URLs. My questions are: Is adding the canonical tag the right approach in this situation? Do I need to take any additional steps, such as using redirects or other configurations, to ensure that only the main page URL is indexed? How can I make sure that Googlebot correctly recognizes and respects the canonical tag, and doesn't index the filtered versions of the page? Any advice or best practices for handling this situation in PrestaShop would be greatly appreciated. Thank you! Link to comment Share on other sites More sharing options...
Daresh Posted February 24 Share Posted February 24 Check out this topic: It seems that setting the "noindex, nofollow" robots tag helped and reduced the amount of indexed pages. 1 Link to comment Share on other sites More sharing options...
djo1919 Posted February 24 Author Share Posted February 24 Thank you for your reply Daresh, what I'm facing exactly is Crawled - currently not indexed, and when I block these queries through robots.txt they appear under the problem Blocked by robots.txt Please find attached what I mean Regards Link to comment Share on other sites More sharing options...
Daresh Posted February 24 Share Posted February 24 It seems that when the target page is not blocked by robots.txt, but has a "noindex, nofollow" robots tag, GoogleBot reacts to it better. Link to comment Share on other sites More sharing options...
djo1919 Posted February 24 Author Share Posted February 24 For example; for this page https://camtools.me/home?q=Power+I\/O -1x+Barrel+(16.8+VDC)+Input+1x+USB\-C+(5+VDC)+Input-1x+IEC+Female+Input++•+100+to+240+VAC%2C+50+\/+60+Hz+1x+Built\-In+Cable+with+D\-Tap\/P\-Tap+Male+Output++•+29.4+VDC+at+5+A-1x+USA+Type\-A\/B+Plug++•+100+to+240+VAC%2C+50+\/+60+Hz+4x+USB\-C+Female+Output-1x+USB\-C+Input+1x+USB\-C+Output+1x+USB\-A+Output+1x+Proprietary+Output-1x+USB\-C+Output+1x+USB\-C+Input+1x+USB\-A+Output-Transmitter\/Receiver%3A+1x+Barrel+(16.8+VDC)+Input+Transmitter\/Receiver%3A+1x+USB\-C+(2+A+\/+5+VDC)+Input-1x+XLR+4\-Pin+(12+VDC)+Input+1x+IEC+Input&order=product.position.asc&resultsPerPage=99999 there's <link rel="canonical" href="https://camtools.me/home"> and there's NO noindex tag , it is indexed. I hope this helps. Thank you in advance Link to comment Share on other sites More sharing options...
Daresh Posted February 24 Share Posted February 24 I know, but what I'm saying is that maybe if you actually had the noindex tag there, it would not be indexed. Instead of / in addition to the canonical one If you have canonical and it is indexed than maybe "canonical" is treatead only as a suggestion by the bot. It seems that the actual "noindex/nofollow" may have a greater respect out there. Link to comment Share on other sites More sharing options...
Knowband Plugins Posted February 24 Share Posted February 24 Canonical can do the work but it might take months to remove the pages if already indexed on the pages. As mentioned by Daresh, you can also add the noindex tag on the page. To add the canonical, have you changed anything in the code? If yes, similar way you can add the noindex on the page if the URL has "q" params. Link to comment Share on other sites More sharing options...
djo1919 Posted February 24 Author Share Posted February 24 Thank you guys for trying to help me, I appreciate it. But the problem, where to add noindex? it is category page and it should be indexed. This is my concern Link to comment Share on other sites More sharing options...
Daresh Posted February 24 Share Posted February 24 Check out the BotMaster module, you can set it to add this tag only in case of some query parameter is present in the URL. Link to comment Share on other sites More sharing options...
Nickz Posted February 24 Share Posted February 24 1 hour ago, djo1919 said: Is adding the canonical tag the right approach in this situation? nope. The best way is not letting search engines touch filter pages. And best over Meta robot directives. The robots.txt is off for Google. Especially their mobile bots.https://webmasters.stackexchange.com/questions/93555/googlebot-mobile-ignoring-robots-txt-pretending-to-be-googlebot Link to comment Share on other sites More sharing options...
Olivier CLEMENCE Posted February 24 Share Posted February 24 You can use my module to noindex those pages : 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...
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