Discourse Sitemap

:warning: We merged this plugin into Discourse’s core on version 2.9.0.beta4.

Summary: Add sitemap.xml to your Discourse instance

:link: GitHub: https://github.com/discourse/discourse-sitemap
:arrow_right: Install: Follow the plugin installation guide.


There has been some discussion 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 News, and this trick didn’t work because they were using Amazon S3 to store their uploads (which broke the same domain requirement)


Just enable it using the site setting in the Plugins menu, and you will get

  • /sitemap.xml
  • /news.xml
  • A Sitemap line in robots.txt

Do you need a sitemap?

No. You do not necessarily “need” a sitemap.xml file.

TL;DR You can get faster indexing with a sitemap, but it doesn’t necessarily make for better SEO.

If you have a very large site, this may benefit you by allowing for faster page indexing.


  • Add new bullets when major features are committed here



When I tried adding /sitemap.xml in google search console I got a “couldnt fetch” error

Seems that xml file leads to 2 other xml files

The one labeled /sitemap_1.xml worked OK in search console and it read all the URLS (albeit without user profile urls but thats another topic)

Just thought Id point this out because we have /sitemap.xml in robots