Currently, pagination in Webflow is not reflected in the canonical URL.
This goes directly against Google's guidelines and can be a major issue for SEO-friendly indexing of elements (yes, CMS pages are included in the Sitemap, but they will still be marked as orphan pages)
All this means that for proper canonicals on paginated pages to be made you a required to use a script like this:
<script>
const urlPath = window.location.href
if (urlPath.includes('_page=')) {
const canonicalLink = document.querySelector("link[rel='canonical']");
if (canonicalLink) {
canonicalLink.href = urlPath
} else {
const link = document.createElement("link");
link.setAttribute("rel", "canonical");
link.setAttribute("href", urlPath);
document.head.appendChild(link);
}
}
</script>
It would be great if this could be fixed (or at least just give us the option to provide unique canonicals for the paginated pages)
UPDATE: Webflow seems to have hot fixed this issue now!
Looks like this has been quietly fixed natively, can anyone else confirm please?
I am also having this issue. https://www.example.com/help?5bdfdbdb_page=2 gives this as canonical value. I thought the whole idea for the canonical field in settings was to remove this type of string?
This is really impacting the crawlability of the site and indexing of blog posts.
Any news on this case?
I am having this issue too...but the script above does not stop the canonicalization, I am using Finsweet CMS filtering and loading attributes, so not sure if that has something to do with the above script not working
We have this issue. The pagination doesn't get indexed by Google and thus causes hundreds of pages to be orphans.