rel="next"
attribute in Shop page with no pagination
#21324
Labels
compatibility: WooCommerce
Possible conflict with the Woocommerce plugin.
Please give us a description of what happened
When the WooCommerce Shop page is set to display only categories, and you have a few that shouldn't result in pagination, we add the
rel="next"
attribute. However, there's no real /page/2/.To Reproduce
Step-by-step reproduction instructions
Expected results
rel="next"
attribute is not added since there are only a few categories that don't warrant paginationActual results
rel="next"
attribute is added with non-existent /page/2/Screenshots, screen recording, code snippet
If possible, please provide a screenshot, a screen recording or a code snippet which demonstrates the bug.
Technical info
Used versions
The text was updated successfully, but these errors were encountered: