Generated sitemaps aren't valid according to Google Search Console #10021

Closed
opened 2025-11-02 08:55:57 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @TheBrokenRail on GitHub (Dec 29, 2022).

Originally assigned to: @wolfogre on GitHub.

Description

As of v1.18, Gitea now generates sitemaps. So I updated my Gitea instance and loaded its sitemap into Google Search Console, and it threw a bunch of errors.

(I can't reproduce with https://try.gitea.io because Google Search Console only allows me to load sitemaps from domains I control, and I definitely don't control https://try.gitea.io.)

Gitea Version

v1.18

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

Screenshot 2022-12-29 at 18-48-09 Sitemaps

Git Version

No response

Operating System

Linux

How are you running Gitea?

Docker Compose

Database

SQLite

Originally created by @TheBrokenRail on GitHub (Dec 29, 2022). Originally assigned to: @wolfogre on GitHub. ### Description As of v1.18, Gitea now generates sitemaps. So I updated my Gitea instance and loaded its sitemap into Google Search Console, and it threw a bunch of errors. (I can't reproduce with https://try.gitea.io because Google Search Console only allows me to load sitemaps from domains I control, and I definitely don't control https://try.gitea.io.) ### Gitea Version v1.18 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots ![Screenshot 2022-12-29 at 18-48-09 Sitemaps](https://user-images.githubusercontent.com/17478432/210021866-40e02d5e-c600-40f9-8907-96fdc1658142.png) ### Git Version _No response_ ### Operating System Linux ### How are you running Gitea? Docker Compose ### Database SQLite
GiteaMirror added the issue/confirmedtype/bug labels 2025-11-02 08:55:57 -06:00
Author
Owner

@TheBrokenRail commented on GitHub (Jan 1, 2023):

Any chance this fix will be backported to v1.18.1? Thanks!

@TheBrokenRail commented on GitHub (Jan 1, 2023): Any chance this fix will be backported to v1.18.1? Thanks!
Author
Owner

@jolheiser commented on GitHub (Jan 1, 2023):

Any chance this fix will be backported to v1.18.1? Thanks!

Yep, this will be backported!

@jolheiser commented on GitHub (Jan 1, 2023): > Any chance this fix will be backported to v1.18.1? Thanks! Yep, this will be backported!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10021