Closed (won't fix)
Project:
Pager metadata
Version:
1.0.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
15 Sep 2025 at 08:27 UTC
Updated:
1 Aug 2026 at 13:07 UTC
Jump to comment: Most recent
I use this module on all of our websites.
The SEO team always asks to remove the page=0 parameter from the first pager item.
There is another module that can do that https://www.drupal.org/project/seo_pager
However I prefer this one because it doesn’t require overriding the canonical tag via the Metatag module.
So based on seo_pager i created a patch for this module.
It removes the page=0 and adds a redirect from /xxx?page=0 to /xxx
| Comment | File | Size | Author |
|---|---|---|---|
| handle_page_0.patch | 5.28 KB | fotispan |
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
prudloff commentedWhile I see the value of this change, I am wondering if this would not be out of the scope of this module.
Currently the module only adds metadata but does not alter the pager at all.
Comment #5
prudloff commentedIt seems installing both seo_pager and pager_metadata does what you need without any extra configuration.
Comment #7
prudloff commentedNo answer so I'm closing.