Fixed Is it intended that canonical forum view URLs do not contain the "no_date_limit=1" parameter?

Steffen

Well-known member
Affected version
2.0.10
If you've enabled a "Thread list date limit" for a forum then XenForo shows a "Show older items" link at the end of the thread list which lets you access older threads using a "no_date_limit=1" URL parameter (doesn't seem to be used here on XenForo.com anywhere, maybe it could be enabled in one forum such that it gets regular testing?).

Such an URL then looks like this: https://www.computerbase.de/forum/forums/arbeitsspeicher.49/page-42?no_date_limit=1

However, its canonical URL doesn't contain the "no_date_limit=1" parameter:
HTML:
<link rel="canonical" href="https://www.computerbase.de/forum/forums/arbeitsspeicher.49/page-42" />

In fact, this canonical URL doesn't exist (it 303-redirects to the last page within the "Thread list date limit", 31 in the given example).

This seems odd to me. I think the "no_date_limit=1" parameter should be added to the canonical URL.
 
Thank you for reporting this issue. The issue is now resolved and we are aiming to include that in a future XF release (2.0.12).

Change log:
Include no_date_limit in the rel=canonical link for forums when needed
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Back
Top Bottom