I'm trying to avoid duplicate content on a website by blocking pagination via robots.txt, but it turns out the URL doesn't have a parameter passed into the URL I can simply block, it's just a number. Example:
/category/sub-category/product/ /category/sub-category/product/1 /category/sub-category/product/2 /category/sub-category/product/3
In the example above, the URLs that end with 1, 2, and 3 is pagination. Any idea on how I can block these? I don't want to just block all numbers, as this is not an ideal solution.