From eeabae5738d100d2b65e8a338a24cc0004d59498 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Wed, 11 Jun 2014 12:04:22 -0400 Subject: [PATCH] closes https://github.com/NodeBB/NodeBB/issues/1668 --- src/controllers/topics.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/controllers/topics.js b/src/controllers/topics.js index 9fce84d994..dce634ebff 100644 --- a/src/controllers/topics.js +++ b/src/controllers/topics.js @@ -153,6 +153,10 @@ topicsController.get = function(req, res, next) { { rel: 'up', href: nconf.get('url') + '/category/' + topicData.category.slug + }, + { + rel: 'canonical', + href: nconf.get('url') + '/topic/' + topicData.slug } ];