C
C
castetus2020-02-17 00:19:05
Search Engine Optimization
castetus, 2020-02-17 00:19:05

Woocommerce, how to get rid of duplicate /?view=all?

IM on Wookomers.
Today I was horrified to discover that Yandex indexed pages like /product-category/category_name/?view=all (such URLs are obtained if you click on the "View all products" link on the category page).
Tell me, plz, how can I either prescribe canonicals for them, or close them from indexing?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2020-02-17
@castetus

Just try to add
Disallow: *?view=all in robots.txt
And check that these urls are not included in the sitemap.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question