# Do topic links need to redirect to the canonical URL?

**URL:** https://meta.discourse.org/t/do-topic-links-need-to-redirect-to-the-canonical-url/126972
**Category:** Feature
**Created:** [27 augustus 2019 om 21:40 UTC](https://meta.discourse.org/t/do-topic-links-need-to-redirect-to-the-canonical-url/126972 "2019-08-27T21:40:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![seanblue](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@seanblue](https://meta.discourse.org/u/seanblue)
#### Post date: [27 augustus 2019 om 21:40 UTC](https://meta.discourse.org/t/do-topic-links-need-to-redirect-to-the-canonical-url/126972/1 "2019-08-27T21:40:20Z")

</div>

There were two recent discussions around issues related to topic links redirecting when the topic title in the URL didn’t completely match the expected value ([[1]](https://meta.discourse.org/t/removing-title-from-url-breaks-links/121455), [[2]](https://meta.discourse.org/t/topic-with-japanese-in-url-doesnt-redirect-if-url-doesnt-perfectly-match/125371)). Then when I was on Amazon I realized that they also allow for fuzzy titles, but they don’t redirect. For example, the following pages all display the same content, without doing a redirect.

- Official title: [Amazon.com: Final Fantasy VII Remake - PlayStation 4 Deluxe Edition : Square Enix LLC: Video Games](https://www.amazon.com/Final-Fantasy-VII-Remake-PlayStation-Deluxe/dp/B07SJ2P1XC/)
- Made-up title: [Amazon.com: Final Fantasy VII Remake - PlayStation 4 Deluxe Edition : Square Enix LLC: Video Games](https://www.amazon.com/random-text/dp/B07SJ2P1XC)
- No title: [Amazon.com: Final Fantasy VII Remake - PlayStation 4 Deluxe Edition : Square Enix LLC: Video Games](https://www.amazon.com/dp/B07SJ2P1XC)

This got me wondering why Discourse does redirects at all, since based on the two issues mentioned above it seems like not doing redirects could avoid some headaches. Is there a reason (technical or otherwise) that the non-matching URLs are handled via redirects instead of serving the same content regardless of the title in the URL?

---

<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: [29 augustus 2019 om 23:46 UTC](https://meta.discourse.org/t/do-topic-links-need-to-redirect-to-the-canonical-url/126972/2 "2019-08-29T23:46:00Z")

</div>

Note that each page has

`<link rel="canonical" href="https://www.amazon.com/Final-Fantasy-VII-Remake-PlayStation-Deluxe/dp/B07SJ2P1XC" />`

This is the correct URL. I can’t speak for Amazon, but it is vastly more correct to get everyone on the same URL, and Google _heavily_ penalizes sites for duplicate content as it is confusing to users. It’s possible Amazon gets a pass here because they are so large.

Beyond that you would need to direct your question to Amazon, not us.

---

<div class="post-metadata">

### Author: ![seanblue](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@seanblue](https://meta.discourse.org/u/seanblue)
#### Post date: [30 augustus 2019 om 00:19 UTC](https://meta.discourse.org/t/do-topic-links-need-to-redirect-to-the-canonical-url/126972/3 "2019-08-30T00:19:57Z")

</div>

Ah, search engine indexing does seem like a big deal. That never even crossed my mind. I was just doing [some reading](https://yoast.com/rel-canonical/) on `rel="canonical"` since I’d never seen that before, and it certainly is interesting. It seems like this is a valid “workaround” of sorts if you can’t / don’t want to redirect, so maybe that’s why Amazon doesn’t get penalized much (besides their size).

For Discourse, I imagine it could be difficult to use effectively (assuming you even wanted to) since each post has its own URL and theoretically should be separately indexed.

Anyway, thanks for the explanation. 🙂
