• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

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

You can do this for now, until implemented:

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

<xen:if is="{$prevPage}"><xen:container var="$head.relprev">
    <link rel="prev" href="{xen:link 'full:{$linkType}', $linkData, '_params={$linkParams}', 'page={$prevPage}'}" />
<xen:if is="{$nextPage}"><xen:container var="$head.relnext">
    <link rel="next" href="{xen:link 'full:{$linkType}', $linkData, '_params={$linkParams}', 'page={$nextPage}'}" />


Well-known member
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?

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>
        <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?


XenForo developer
Staff member
Nothing has been changed here in a long time, though we do output prev and next via link headers:
<link rel="prev" href="forums/closed-suggestions.15/page-4" /><link rel="next" href="forums/closed-suggestions.15/page-6" />