# Title structure for SEO (when sorting via Latest button)

**URL:** https://meta.discourse.org/t/title-structure-for-seo-when-sorting-via-latest-button/60781
**Category:** Feature
**Created:** [Avril 11, 2017, 1:52 UTC](https://meta.discourse.org/t/title-structure-for-seo-when-sorting-via-latest-button/60781 "2017-04-11T13:52:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Sunny](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sunny/32/65836_2.png) [@Sunny](https://meta.discourse.org/u/Sunny)
#### Post date: [Avril 11, 2017, 1:52 UTC](https://meta.discourse.org/t/title-structure-for-seo-when-sorting-via-latest-button/60781/1 "2017-04-11T13:52:52Z")

</div>

Upon clicking “Latest” in a category view, I am seeing that discourse adds “/l/latest” to the page URL.  
However the canonical points to the base category URL.

Google seems to be indexing both for us.

 ![](https://global.discourse-cdn.com/meta/original/3X/a/a/aab9271cf144c9ecf22823157b818ce4ee03ee85.jpg)

There could be two reasons for this

a) Google thinks that the content on the page changed and hence disregards the canonical tag

b) Google gives a higher signal to static looking urls (since we don’t use # / or ? alone to sort the page)

**Anyone has ideas on how to deal with this?**

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [Avril 11, 2017, 5:27 UTC](https://meta.discourse.org/t/title-structure-for-seo-when-sorting-via-latest-button/60781/2 "2017-04-11T17:27:16Z")

</div>

I do not see a problem in your screenshot.

---

<div class="post-metadata">

### Author: ![EducatorWaji](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/educatorwaji/32/66699_2.png) [@EducatorWaji](https://meta.discourse.org/u/EducatorWaji)
#### Post date: [Avril 11, 2017, 6:06 UTC](https://meta.discourse.org/t/title-structure-for-seo-when-sorting-via-latest-button/60781/3 "2017-04-11T18:06:06Z")

</div>

As @codinghorror said. We don’t see a problem here. This typically happens when a content exists in two pages of the website.

In wordpress, this happens when you post something in a category and doesn’t post anything else for a long period of time.

---

<div class="post-metadata">

### Author: ![Sunny](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sunny/32/65836_2.png) [@Sunny](https://meta.discourse.org/u/Sunny)
#### Post date: [Avril 12, 2017, 6:50 UTC](https://meta.discourse.org/t/title-structure-for-seo-when-sorting-via-latest-button/60781/4 "2017-04-12T06:50:08Z")

</div>

Google isn’t respecting canonical tag on Discourse, that is a problem.

@EducatorWaji - Not the same case. WP category pages exist as a separate page, in this case we are sorting a list of items on the same page. Google allows either using URL parameters in search console to indicate to Google about the behaviour of this parameters ([Spring cleaning: the URL Parameters tool &nbsp;|&nbsp; Google Search Central Blog &nbsp;|&nbsp; Google for Developers](https://support.google.com/webmasters/answer/6080550?hl=en)) and as an alternative you can use canonical.

Sorting is covered under this. But in all examples that Google gives, a ? tag is used at the end of the original URL. Hence my original hypothesis.
