# Sitemap plugin - geen ?page=… url's in standaard sitemap

**URL:** https://meta.discourse.org/t/sitemap-plugin-no-page-urls-in-default-sitemap/220283
**Category:** Bug
**Tags:** sitemap
**Created:** [7 maart 2022 om 13:35 UTC](https://meta.discourse.org/t/sitemap-plugin-no-page-urls-in-default-sitemap/220283 "2022-03-07T13:35:11Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)
#### Post date: [18 oktober 2023 om 06:38 UTC](https://meta.discourse.org/t/sitemap-plugin-no-page-urls-in-default-sitemap/220283/10 "2023-10-18T06:38:44Z")

</div>

I’m having trouble with Google Search Console trying to index URLs like `https://example.com/t/title-slug/1234?page=3` , which make Discourse throw a 404. Removing the `?page=x` parameter makes the URL valid.

I assume this is some kind of a side effect of Discourse adding pagination to the version of the site that it serves crawlers:

> [@?page= bug, both in core and in sitemap plugin](https://meta.discourse.org/t/page-bug-both-in-core-and-in-sitemap-plugin/191719/1):
>
> As soon as a topic has 18 posts, the `sitemap_recent.xml` starts showing a URL with a page number `https://forum.example.com/t/slug/123?page=2`

---

_[View the full topic](https://meta.discourse.org/t/sitemap-plugin-no-page-urls-in-default-sitemap/220283)._
