XF 1.3 Canonical link in header?


Well-known member
I notice that certain key pages have a canonical link in header:
<link rel="canonical" href="http://xenforo.com/community/members/" />
Google explains well their purpose, however, I don't understand why the Resources (for example) don't have a canonical link?

Thank you for letting me know.


Well-known member
Not sure, on mines is there and I don't have pagination:
<link rel="canonical" href="https://www.axivo.com/members/" />
Is this part of the member_notable template, not present into resource_index:
<xen:container var="$head.canonical">
    <link rel="canonical" href="{xen:link 'canonical:members'}" /></xen:container>
I just need to learn the logic behind, for now I added the canonical link to Resources main page and I want to make sure it is OK.


XenForo moderator
Staff member
The canonical URL has to be manually added to pages, using the code above.

I'm not sure why it hasn't been added for the RM - I'll check with @Mike.


Well-known member
I'm going to add the canonical links in resource categories also, the same way is done on forums.
Last edited: