Page 1 of 1

How to add “noindex” on all links with filter

Posted: Fri Feb 03, 2017 5:36 pm
by v1ppers0nn
Hi, on the GSC i have too much problems with duplicate titles. When i see from where are these duplicate titles i see that i have problem with the filters. For example i have an product with url ribarnik.com/shop/baitrunner-st-fa, but the filter create a link of the product /shop/baitrunner-st-fa?sort=pd.name&order=ASC&limit=100. I wanna add all these links (with filters) to be "noindex".

I have to all products canonical tag, but google say again that i have duplicated titles.

Please help, really! I have more than 20 000 products and on every product i have between 5-10 duplicated title, so... Please help!

Re: How to add “noindex” on all links with filter

Posted: Sat Feb 04, 2017 3:43 am
by thekrotek
You can try to edit template files and add "noidex" anywhere you want. The best way is to create a VQMod for this, but you need to have at least basic knowledge in coding.

But how exactly do you submit your pages to Google?

Re: How to add “noindex” on all links with filter

Posted: Wed Feb 08, 2017 5:06 am
by labeshops
Just add a "Disallow: /*&filter" to your robots.txt file.

Re: How to add “noindex” on all links with filter

Posted: Fri Feb 10, 2017 3:14 am
by agatha65
labeshops wrote:Just add a "Disallow: /*&filter" to your robots.txt file.
Don't do this if your pages are already indexed. It will stop the bot to see them and they will remain indexed.

Attached is the best noindex extension created by Ukrainian developer Slava Chusoff and published here Robots noindex
noindex, follow directive added to:
Category page: sort, page, limit
Manufacturer page: sort, page, limit
Specials: sort, page, limit
Compare page - entire page
Search page - entire page
Register and Login pages
Cart and Checkout pages

Re: How to add “noindex” on all links with filter

Posted: Fri Dec 08, 2017 5:16 am
by Rainforest
Would this work with a an OC 2.3.0.2 using Journal 2 Theme and an SEO ProPack module?

Re: How to add “noindex” on all links with filter

Posted: Thu Aug 23, 2018 12:49 am
by cosmicx
Thank you Agatha and Slasoft (the Russian) for the Mod, it worked on my 2.3.0.2. I even added my own mod and it's working great.

Re: How to add “noindex” on all links with filter

Posted: Fri Aug 24, 2018 3:29 pm
by OSWorX
Just 4 info: added a 3.x version here: https://www.opencart.com/index.php?rout ... n_id=34897

Re: How to add “noindex” on all links with filter

Posted: Fri Aug 24, 2018 6:23 pm
by cosmicx
@OSWorX
I tried it with v3.0.2.0, but pages with filter is not working. Other pages works.
---
Update:
- I tried it with OC 3.0.2.0 Default Theme, it works.
- But not working with 3rd-party Theme

How to troubleshoot?