Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
@remkovdz: Regard your example, how would Metatag know whether the other URLs existed without first checking them, or how would it know what the first and last pages were, to identify situations that it shouldn't add the PREV or NEXT tags? Defining connections between multiple pages is outside of Metatag's scope and better suited for e.g. Smart Paging as couturier suggested. Thanks for the suggestion, though.
Comments
Comment #1
remkovdz commentedSorry to push, but any thoughts?
Google:
More info: http://googlewebmastercentral.blogspot.co.uk/2011/09/pagination-with-rel...
In other words: this needs HTML
elements in the head of the page, depending on wether there are previous and/or next pages.
Example when a user is on page 2:
Comment #2
remkovdz commentedAny ideas? Thanks.
Comment #3
mgiffordThere may be accessibility advantages to adding this, but mostly wanted to add related issues here.
Related issues:
#115753: Pager rel attributes
#1617962: rel="next" and rel="prev" when not using "Show Full Page" option
Related links:
http://www.w3.org/TR/html5/links.html#linkTypes
http://demosthenes.info/blog/190/Using-link-rel-to-preload-web-content-a...
http://www.webfoundation.org/accessibility/
Comment #4
couturier commentedThis is exactly what the Smart Paging module can do, and it works well to install it alongside Meta Tags. Read this issue for a bit more detail: http://drupal.org/node/1809652#comment-6595584
Comment #5
damienmckenna@remkovdz: Regard your example, how would Metatag know whether the other URLs existed without first checking them, or how would it know what the first and last pages were, to identify situations that it shouldn't add the PREV or NEXT tags? Defining connections between multiple pages is outside of Metatag's scope and better suited for e.g. Smart Paging as couturier suggested. Thanks for the suggestion, though.
Comment #6
anybodyhttps://www.drupal.org/project/cleanpager perhaps?