# Sitemap issue

**URL:** https://meta.discourse.org/t/sitemap-issue/316779
**Category:** Support
**Tags:** sitemap
**Created:** [July 17, 2024, 12:31pm UTC](https://meta.discourse.org/t/sitemap-issue/316779 "2024-07-17T12:31:21Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![kryptosurfer64](https://avatars.discourse-cdn.com/v4/letter/k/9fc348/32.png) [@kryptosurfer64](https://meta.discourse.org/u/kryptosurfer64)
#### Post date: [July 17, 2024, 12:31pm UTC](https://meta.discourse.org/t/sitemap-issue/316779/1 "2024-07-17T12:31:21Z")

</div>

Hi folks,

A few days ago, I added my forum (found at [https://www.healhaven.net](https://www.healhaven.net)) to Google’s search console (found at [https://www.search.google.com/search-console](https://www.search.google.com/search-console))! In their specified sitemap section, I added my sitemap of course (found at [https://www.healhaven.net/sitemap.xml](https://www.healhaven.net/sitemap.xml)). It was a success overall, however I noticed one thing - when clicking on it to further check the data, between the two parts of the sitemap (sitemap\_1.xml & sitemap\_recent.xml), one part of the sitemap (sitemap\_recent.xml) has the following issue (See attached below):

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/5/5/355ff95341164491e39b8e9f0d1db8c7b9161be2.png)

I reached out to [https://www.digitalocean.com](https://www.digitalocean.com) (where I’m hosting it from) and they couldn’t seem to reach a fix and suggested I reach out to everyone here.

[Validate XML Sitemap - XML Sitemaps Generator](https://www.xml-sitemaps.com/validate-xml-sitemap.html) produced the following (valid sitemap, no errors):

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/f/7/9f7d523a57376d1424d463a4743721c8fd5ef79f.png)

Dashboard shows I’m running 3.3.0.beta5-dev and I do indeed update daily etc. The sitemap plugin, I’ve constantly enabled as now I’ve noticed it definitely switches itself off (after whatever period of time), for some odd unknown reason! But I do have the general sitemap stuff enabled in the settings ALONE aside from the Plugin available.

Would appreciate a reply/some advice. Thanks in advance!

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [July 17, 2024, 12:44pm UTC](https://meta.discourse.org/t/sitemap-issue/316779/2 "2024-07-17T12:44:05Z")

</div>

Do you mean plugin Discourse Sitemap? It should not use anymore, and functionality is in the core.

---

<div class="post-metadata">

### Author: ![kryptosurfer64](https://avatars.discourse-cdn.com/v4/letter/k/9fc348/32.png) [@kryptosurfer64](https://meta.discourse.org/u/kryptosurfer64)
#### Post date: [July 17, 2024, 7:45pm UTC](https://meta.discourse.org/t/sitemap-issue/316779/3 "2024-07-17T19:45:29Z")

</div>

> [@Jagster](#):
>
> Do you mean plugin Discourse Sitemap?

Was referring to this:

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/b/0/bb05fbf34c59bf876930f733c9ad01dcdc899cc0.png)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/f/0/d/f0d97249987ac850c465c2e8e57f0a184ebbe9a4.png)  
(eventually it’s going to - or so I expect it to - turn itself back off again)

* * *

* * *

Other that I have the main one enabled as found in the default settings list:

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/a/0/9a07ec9c42c75d0f3141a8eb2763075082c1a889.png)

* * *

* * *

Still, what should I actually do to fix this? Not got a clue.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [July 17, 2024, 7:50pm UTC](https://meta.discourse.org/t/sitemap-issue/316779/4 "2024-07-17T19:50:00Z")

</div>

I would delete discourse sitemap row from app.yml and do rebuilding and see what happends. Just because it shouldn’t be in use and can conflict against version of core.

---

<div class="post-metadata">

### Author: ![kryptosurfer64](https://avatars.discourse-cdn.com/v4/letter/k/9fc348/32.png) [@kryptosurfer64](https://meta.discourse.org/u/kryptosurfer64)
#### Post date: [July 17, 2024, 7:52pm UTC](https://meta.discourse.org/t/sitemap-issue/316779/5 "2024-07-17T19:52:09Z")

</div>

> [@Jagster](#):
>
> I would delete discourse sitemap row from app.yml and do rebuilding and see what happends.

and see what happens? so your not sure bro? (I do appreciate each reply, just not so much the uncertainty if you get where I’m coming from).

so there’s a chance “it” (the forum or anything important) can break is what your telling me though? I wouldn’t want to have to go through that man. But if I gotta try it, I guess I will in a bit and report back.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [July 17, 2024, 8:00pm UTC](https://meta.discourse.org/t/sitemap-issue/316779/6 "2024-07-17T20:00:13Z")

</div>

You should remove the sitemap plugin from your `app.yml` as that plugin has been deprecated:

> [@Discourse Sitemap](https://meta.discourse.org/t/discourse-sitemap/40348):
>
> discourse2Summary Discourse Sitemap adds a sitemap.xml to your Discourse instanceopen_bookInstall Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately. Features There has been [some](https://meta.discourse.org/t/how-to-create-xml-sitemap-is-there-any-plugin/33654) [discussion](https://meta.discourse.org/t/sitemap-xml-for-google-webmaster/9054/9) over the need of a sitemap, and I think Discourse doesn’t really need one, although I do believe that a forum might be indexed a bit faster with one. Anyway, we created this plugin because of a customer that needed a sitemap for Google N…

As Jagster says, the sitemap is now included in core so there’s no need to double up, and having it in there could cause conflicts.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [July 17, 2024, 8:00pm UTC](https://meta.discourse.org/t/sitemap-issue/316779/7 "2024-07-17T20:00:51Z")

</div>

No one can’t be totally sure. But you have two plugins doing same thing, and another of those is old and not updated in very long time, and that exacly thing isn’t working for you. So?

Plus practically every forum is using core version, not old plugin, and it looks like you are the only one who has issues.

---

<div class="post-metadata">

### Author: ![kryptosurfer64](https://avatars.discourse-cdn.com/v4/letter/k/9fc348/32.png) [@kryptosurfer64](https://meta.discourse.org/u/kryptosurfer64)
#### Post date: [July 17, 2024, 8:34pm UTC](https://meta.discourse.org/t/sitemap-issue/316779/8 "2024-07-17T20:34:51Z")

</div>

> [@JammyDodger](#):
>
> You should remove the sitemap plugin from your `app.yml` as that plugin has been deprecated:

> [@Jagster](#):
>
> I would delete discourse sitemap row from app.yml

I deleted the sitemap plugin row entirely and rebuilt the container. Still seeing the original same thing, even after I deleted the sitemap link from the GS Console and readded it.

---

<div class="post-metadata">

### Author: ![kryptosurfer64](https://avatars.discourse-cdn.com/v4/letter/k/9fc348/32.png) [@kryptosurfer64](https://meta.discourse.org/u/kryptosurfer64)
#### Post date: [July 18, 2024, 9:46pm UTC](https://meta.discourse.org/t/sitemap-issue/316779/10 "2024-07-18T21:46:09Z")

</div>

so… anyone (else?) perhaps got any other solutions… or something? still encountering this in my google search console. how do I fix this?

---

<div class="post-metadata">

### Author: ![David\_Ghost](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@David\_Ghost](https://meta.discourse.org/u/David_Ghost)
#### Post date: [July 18, 2024, 11:41pm UTC](https://meta.discourse.org/t/sitemap-issue/316779/11 "2024-07-18T23:41:04Z")

</div>

sitemap\_recent show topics from the last 3 days. The last post on your forum was 8 days ago. That’s why your sitemap\_recent is empty and show errors

---

<div class="post-metadata">

### Author: ![kryptosurfer64](https://avatars.discourse-cdn.com/v4/letter/k/9fc348/32.png) [@kryptosurfer64](https://meta.discourse.org/u/kryptosurfer64)
#### Post date: [July 19, 2024, 12:11pm UTC](https://meta.discourse.org/t/sitemap-issue/316779/12 "2024-07-19T12:11:54Z")

</div>

yeah, my bro… I understand that. My question is HOW do I actually fix it? What am I supposed to do? I’m unsure, I’m still learning as I go every day man.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [July 19, 2024, 12:23pm UTC](https://meta.discourse.org/t/sitemap-issue/316779/13 "2024-07-19T12:23:28Z")

</div>

Do you have more fresh topics/post than 6 days old?

---

<div class="post-metadata">

### Author: ![kryptosurfer64](https://avatars.discourse-cdn.com/v4/letter/k/9fc348/32.png) [@kryptosurfer64](https://meta.discourse.org/u/kryptosurfer64)
#### Post date: [July 19, 2024, 8:23pm UTC](https://meta.discourse.org/t/sitemap-issue/316779/14 "2024-07-19T20:23:28Z")

</div>

At the moment no, everything that you see is up to date, of course. So…

* * *

Working on pushing this out to communities but proving a little tricker but I believe I’ll get there as I really think this is a vital initiative, in addition to reaching out to mental health services and attempting to “collaborate” (in some capacity of some sort) so to speak.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [July 19, 2024, 8:26pm UTC](https://meta.discourse.org/t/sitemap-issue/316779/15 "2024-07-19T20:26:48Z")

</div>

But then your recents is empty. Should you do at least one (test)topic and re-check after that if the error will go away?

---

<div class="post-metadata">

### Author: ![David\_Ghost](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@David\_Ghost](https://meta.discourse.org/u/David_Ghost)
#### Post date: [July 19, 2024, 8:47pm UTC](https://meta.discourse.org/t/sitemap-issue/316779/17 "2024-07-19T20:47:22Z")

</div>

You need content at least from every 3 days to not have errors in sitemap\_recent.

Thats not a problem as its already on your sitemap\_1.xml. Your content will be indexed, dont worry.

You can temporally fix it by publishing a new post today and re-submitting your sitemap.

But you always need fresh content if you want the sitemap\_recent.

sitemap\_recent is a good way to have good content published on Google Discover if you meets the requirements.

Hope its helps.

---

<div class="post-metadata">

### Author: ![kryptosurfer64](https://avatars.discourse-cdn.com/v4/letter/k/9fc348/32.png) [@kryptosurfer64](https://meta.discourse.org/u/kryptosurfer64)
#### Post date: [July 21, 2024, 9:58pm UTC](https://meta.discourse.org/t/sitemap-issue/316779/18 "2024-07-21T21:58:50Z")

</div>

> [@Jagster](#):
>
> Should you do at least one (test)topic and re-check after that if the error will go away?

I’ll give it a shot, test it - wait a bit and see. No harm, no foul.

> [@David\_Ghost](#):
>
> You need content at least from every 3 days to not have errors in sitemap\_recent.

The thing is the error is saying it’s missing a required tag. I’d assume that means I am supposed to edit it, no? Although obviously I don’t get why/how it’s missing in the first place. So I don’t understand how I’m supposed to have topics flowing through in order to fix a missing tag. Am confused there. If you get me.

But like I also said, I’m still learning so I don’t know everything.  
I appreciate everyone’s input regardless of course.

* * *

(p.s apologies for the late replies, been very busy lately).

---

<div class="post-metadata">

### Author: ![David\_Ghost](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@David\_Ghost](https://meta.discourse.org/u/David_Ghost)
#### Post date: [July 22, 2024, 1:19pm UTC](https://meta.discourse.org/t/sitemap-issue/316779/19 "2024-07-22T13:19:03Z")

</div>

It’s automatically generated by the core. You dont need to edit anything.

Simply create fresh content and re-submit.

Dont worry, as you can see [here](https://www.google.com/search?client=opera-gx&q=site%3Ahttps%3A%2F%2Fwww.healhaven.net%2F&sourceid=opera&ie=UTF-8&oe=UTF-8), your content is already indexed by Google. Sitemap recent is only for Google Discover purposes: like news sites who needs instantly index.

---

<div class="post-metadata">

### Author: ![kryptosurfer64](https://avatars.discourse-cdn.com/v4/letter/k/9fc348/32.png) [@kryptosurfer64](https://meta.discourse.org/u/kryptosurfer64)
#### Post date: [July 25, 2024, 10:25pm UTC](https://meta.discourse.org/t/sitemap-issue/316779/20 "2024-07-25T22:25:59Z")

</div>

> [@David\_Ghost](#):
>
> Simply create fresh content and re-submit.

Just wanted to verify this DID indeed work!

So once again thank you to each and everyone of you for your inputs. Much appreciated! 🙂

---

<div class="post-metadata">

### Author: ![David\_Ghost](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@David\_Ghost](https://meta.discourse.org/u/David_Ghost)
#### Post date: [July 25, 2024, 10:47pm UTC](https://meta.discourse.org/t/sitemap-issue/316779/21 "2024-07-25T22:47:45Z")

</div>

Glad it was worked. 🙂
