# ?page= bug, גם ב-core וגם ב-sitemap plugin

**URL:** <https://meta.discourse.org/t/page-bug-both-in-core-and-in-sitemap-plugin/191719>\
**Category:** Bug\
**Tags:** sitemap\
**Created:** [26 במאי,‏ 2021,‏ 5:08pm UTC](https://meta.discourse.org/t/page-bug-both-in-core-and-in-sitemap-plugin/191719 "2021-05-26T17:08:01Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)\
**Post date:** [27 במאי,‏ 2021,‏ 12:28pm UTC](https://meta.discourse.org/t/page-bug-both-in-core-and-in-sitemap-plugin/191719/4 "2021-05-27T12:28:41Z")

</div>

The big problem computing page numbers was in discourse-sitemap:

[https://github.com/discourse/discourse-sitemap/pull/19](https://github.com/discourse/discourse-sitemap/pull/19)

The problem with caching was fixed here:

[https://github.com/discourse/discourse-sitemap/pull/20](https://github.com/discourse/discourse-sitemap/pull/20)

I also fixed the not found issue in core (minor), where it would reply with a 200 when requesting second page, but only having 20 posts (1 page):

[https://github.com/discourse/discourse/pull/13183](https://github.com/discourse/discourse/pull/13183)

---

_[View the full topic](https://meta.discourse.org/t/page-bug-both-in-core-and-in-sitemap-plugin/191719)._
