For each category page, if I view the page source I can see in the header:
<link rel=”canonical” href=” https://www.domain.com/category/″ itemprop="url" />
but if I select the second page of products in that category it has the same canonical href. I want to add the page number for each successive page i.e. for page 2 I want:
<link rel=”canonical” href=” https://www.domain.com/category/?pgnum=2″ itemprop="url" />
Does anyone know how I can do this?