Pagination query params are showing in the canonicals

Hi Team :),

I am using CMS Load on my site https://www.aitoollibrary.com/. On this site I have category pages with collection lists with Infinite scroll. When I crawl my site using an SEO tool, I get the multiple URLS for the same category page:

  • https://www.aitoollibrary.com/ai-tool-category/business?a1e93be6_page=1
  • https://www.aitoollibrary.com/ai-tool-category/business?-a1e93be6_page=2
  • https://www.aitoollibrary.com/ai-tool-category/business?a1e93be6_page=3
  • https://www.aitoollibrary.com/ai-tool-category/business?a1e93be6_page=4
  • https://www.aitoollibrary.com/ai-tool-category/business?a1e93be6_page=5

I notice when I visit these pages and inspect the source code they all have self referring canonicals, example <link href="https://www.aitoollibrary.com/ai-tool-category/business?a1e93be6_page=3" rel="canonical"/>.

I’m guessing this is bad and that the canonical in this case should be <link href="https://www.aitoollibrary.com/ai-tool-category/business" rel="canonical"/>.

In Google Search Console I am also starting to get the error “Alternate page with proper canonical tag” for these pages.

Did I implement something incorrectly with attributes, or how should I go about making sure these pages have the correct canonical set up?

Thanks.

Since making this post, it was brought up in the latest Technical AMA with Alex. It looks like a Webflow update has started adding pagination query params to the global canonicals. So the workaround for now is to remove the Webflow Global Canonical and add manually to static pages and then use a dynamic tag for collection pages. Hopefully Webflow can shed light on why they made this update and if it is sticking around.

1 Like

Thank you for sharing @gregdolan!