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

CommentFileSizeAuthor
handle_page_0.patch5.28 KBfotispan
Command icon Show commands

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

fotispan created an issue. See original summary.

prudloff made their first commit to this issue’s fork.

prudloff’s picture

While 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.

prudloff’s picture

Status: Active » Postponed (maintainer needs more info)

It seems installing both seo_pager and pager_metadata does what you need without any extra configuration.

prudloff’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

No answer so I'm closing.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.