mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 18:14:26 +02:00
Merge pull request #4733 from Jimmi08/canonical-urls-on-topic-pages
Fixes #4712 canonical URLs for paged forum topic
This commit is contained in:
@@ -375,8 +375,10 @@ else
|
||||
e107::getDebug()->log($ret);
|
||||
unset($ret);
|
||||
}
|
||||
|
||||
$thread->threadInfo['thread_page'] = varset($thread->page,1);
|
||||
e107::canonical('forum', 'topic-canonical', $thread->threadInfo);
|
||||
|
||||
e107::canonical('forum', 'topic', $thread->threadInfo);
|
||||
require_once (HEADERF);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user