Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Port the rel=prev/next meta tags from D7 (#1868460: adding rel=prev / rel=next).
Comment | File | Size | Author |
---|---|---|---|
#6 | 3077773-tags.png | 36.68 KB | cindytwilliams |
#6 | 3077773-fields.png | 50.62 KB | cindytwilliams |
#4 | metatag-add_next_prev_metatags-3077773-4.patch | 4.95 KB | gueguerreiro |
|
Comments
Comment #2
DamienMcKennaComment #3
gueguerreiroThis patch should do it. Tried it on a fresh install of Drupal, and the
rel="next"
andrel="prev"
links were added.Comment #4
gueguerreiroThat last patch didn't include the added files. Sorry. This one should be correct now.
Comment #5
DamienMcKennaThis is excellent, thank you.
Comment #6
cindytwilliams CreditAttribution: cindytwilliams at Kanopi Studios commentedPatch #4 applied cleanly, and added the "Next page URL" and "Previous page" URL to the metatag config screen.
The values entered into these fields are displayed as meta tags.
Marking RTBC.
Comment #7
DamienMcKennaCommitted. Thanks.