Discourse Sitemap Plugin

(Vinoth Kannan) #88

AFAIK you have to manually submit the news sitemaps.

(Richard - DiscourseHosting.com) #90

That was indeed an error in the documentation.
Thanks @vinothkannans for correcting it in the topic. I have updated the README.md as well now.

(Bali Bebas!) #91

Those without a Google account can notify them of changes with:

curl http://www.google.com/ping?sitemap=/path/to/sitemap.xml

Here’s a rake task to notify a few different services simultaneously: made-mistakes/Rakefile.rb at master · mmistakes/made-mistakes · GitHub

(Valon) #92

Not all our sites are news related, it’s more like forum or group based. Thats why we are getting error on Webmster Tools as a news

Your Sitemap is on a site that is not in the Google News database. Google News can only accept Sitemaps from sites that we crawl. If your site is crawled by Google News, please check that the URL of your Sitemap agrees with the URLs of your articles as they appear on Google News, including any leading “www”. If you would like to request inclusion of your site in Google News, pleasecontact the Google News support team.

(@SenpaiMass) #93

Is sitemap a necessary evil? If i don’t use this plugin, will my community not get the exposure it seeks?

(Vinoth Kannan) #94

I don’t think so.

(Jay Pfaffman) #95

My understanding is that if you have migrated a large site, it might help. If you are starting a new community, then it’s not necessary.

(Hakan) #96

Everyday gives an Errorlog, is it time to take a look at it now? Control card is incorrect

(Dan) #102

Is this the sitemap plugin that is official now by this commit?

(Sam Saffron) #103

Yeah we need to discuss this with @RGJ, we have an official fork now that is quite a few commits ahead of the OP, it is probably best if we take over the repo to avoid confusion

(Dan) #104

I’ll install this once your repo is out.
Many Thanks!

(Richard - DiscourseHosting.com) #105

Yes, that is ok with me. I seem unable to transfer the repo since you have a fork with the same name though, and I would prefer to have the old repository location redirect to the new/official one. Do you have any ideas how to approach this?

(Sam Saffron) #106

Feel free to transfer it to SamSaffron and then I can do all the shuffling needed.

(Dan) #107

With this URL, I got:

Oops! That page doesn’t exist or is private.

Edit, I think it’s only: /news.xml

(Sam Saffron) split this topic #108

3 posts were split to a new topic: Issues bootstrapping due to encoding error


Hi. Thanks for the plugin.

But google search console is giving this error:

The contents of that page is:

<!-- generated-on="2018-09-30T04:34:50+00:00" -->

<!-- generator="Sitemap Plugin for Discourse" -->




<!-- generator-version="1.0" -->

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd http://www.google.com/schemas/sitemap-image/1.1 http://www.google.com/schemas/sitemap-image/1.1/sitemap-image.xsd"> </urlset>

Should I use the /news.xml if i’m not a “news” forum? It’s giving error too

I’ve read that just removing a sitemap from the console does not prevent google to keep crawling it till you remove it from your website/edit robots.txt so I think that news.xml would be crawled anyway so that’s why I added it lol.

(Rafael dos Santos Silva) #110

We will need a link to the full XML file to be able to do any debugging.


Sure, how can I send it privately ?

(Jay Pfaffman) #112

I’m sure you have reasons for not wanting to share publicly (e.g., not revealing who your client is), but it’s always funny to me when people who are concerned that they’re not getting the SEO rankings that they want to not want to share their URL. You want more people to find your site, right?


The project is not supposed to be public till it’s ready. I’ll dump the xml data in a .txt file

sitemap_recent.txt (723 Bytes)

news.txt (901 Bytes)