Lack of interest article pagination rel="prev/next"

  • Thread starter Thread starter Floris
  • Start date Start date
This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.
This suggestion has been closed. Votes are no longer accepted.
You can do this for now, until implemented:

edit the template page_nav.html, under:
Code:
<xen:if is="{$pageTotal} > 1">

add this:

Code:
<xen:if is="{$prevPage}"><xen:container var="$head.relprev">
    <link rel="prev" href="{xen:link 'full:{$linkType}', $linkData, '_params={$linkParams}', 'page={$prevPage}'}" />
</xen:container></xen:if>
<xen:if is="{$nextPage}"><xen:container var="$head.relnext">
    <link rel="next" href="{xen:link 'full:{$linkType}', $linkData, '_params={$linkParams}', 'page={$nextPage}'}" />
</xen:container></xen:if>
 
I noticed that on pagination inside a thread, and on thread_list within a forum that the first page has rel="start"

Has this been partially implemented then or has it always been like this?

e.g.
Rich (BB code):
<div class="PageNav" data-page="1" data-range="2" data-start="2" data-end="6" data-last="143" data-sentinel="{{sentinel}}" data-baseurl="forums/general-xenforo-discussion-and-feedback.45/page-{{sentinel}}">
    <span class="pageNavHeader">Page 1 of 143</span>
    <nav>
        <a href="forums/general-xenforo-discussion-and-feedback.45/" class="currentPage" rel="start">1</a>

Though no rel="prev" or rel="next" ..

Google seems to figure out pagination easily but maybe there would be a minor SEO benefit implementing it?
https://support.google.com/webmasters/answer/1663744?hl=en
 
Nothing has been changed here in a long time, though we do output prev and next via link headers:
Code:
<link rel="prev" href="forums/closed-suggestions.15/page-4" /><link rel="next" href="forums/closed-suggestions.15/page-6" />
 
Top Bottom