# ?page= a veces redirige a una página con una URL canónica diferente

**URL:** <https://meta.discourse.org/t/page-sometimes-redirects-to-a-page-with-a-different-canonical-url/167305>\
**Category:** Bug\
**Created:** [15 Octubre, 2020 17:38 UTC](https://meta.discourse.org/t/page-sometimes-redirects-to-a-page-with-a-different-canonical-url/167305 "2020-10-15T17:38:41Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [19 Octubre, 2020 06:12 UTC](https://meta.discourse.org/t/page-sometimes-redirects-to-a-page-with-a-different-canonical-url/167305/4 "2020-10-19T06:12:37Z")

</div>

@kris.kotlarek ya tiene una corrección fusionada.

> <https://github.com/discourse/discourse/pull/10953>
>
> Currently, when page param is not given to TopicView we calculate page for canon…ical\_path, however, it is skipped for next\_path.
> 
> We should use the same calculation to define page, so next page URL will be accurate. Currently if you view source of meta post - view-source:https://meta.discourse.org/t/post-rate-limit-trigger-for-a-topic-thats-heating-up/98294/46 you will see:
> 
> \`\`\`
> \<link rel="canonical" href="https://meta.discourse.org/t/post-rate-limit-trigger-for-a-topic-thats-heating-up/98294?page=3" /\>
> \<link rel="next" href="/t/post-rate-limit-trigger-for-a-topic-thats-heating-up/98294?page=2"\>
> \`\`\`
> 
> https://meta.discourse.org/t/page-sometimes-redirects-to-a-page-with-a-different-canonical-url/167305

¡Háganos saber si no funciona correctamente!

---

_[View the full topic](https://meta.discourse.org/t/page-sometimes-redirects-to-a-page-with-a-different-canonical-url/167305)._
