# Canonical tag on topic URL

**URL:** <https://meta.discourse.org/t/canonical-tag-on-topic-url/57057>\
**Category:** Bug\
**Created:** [2017 年 2 月 7 日午後 12:06 UTC](https://meta.discourse.org/t/canonical-tag-on-topic-url/57057 "2017-02-07T12:06:35Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [2017 年 2 月 7 日午後 4:16 UTC](https://meta.discourse.org/t/canonical-tag-on-topic-url/57057/19 "2017-02-07T16:16:41Z")

</div>

I looked up [Google’s guidelines about paginated content](https://support.google.com/webmasters/answer/1663744?hl=en), and I think we’re not following it well enough…

- We’re using `<a rel="next">` and `<a rel="prev">` in the **body** , but the guidelines say to use `<link rel="next">` and `<link rel="prev">` in the **head**.

If we get it wrong (which we are), they say:

> If Google finds mistakes in your implementation…, we’ll continue to index the page(s), and rely on our own heuristics to understand your content.

So I think @cpradio is right that Googlebot is trying to guess the url for the next page. It’s getting a 404 page, which it shouldn’t be indexing… but if we put `link` elements in the `head` then Googlebot might not need to guess anymore.

---

_[View the full topic](https://meta.discourse.org/t/canonical-tag-on-topic-url/57057)._
