Discourse Sitemap adds a sitemap.xml to your Discourse instance
Install Guide
This plugin is bundled with Discourse core. There is no need to install the plugin separately.
Features
There has been somediscussion 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)
Configuration
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.
CHANGELOG
Add new bullets when major features are committed here
I am also doing the changes on Sitemap plugin. I will create a new PR soon. Currently I am working on the 4 points which are recommended by @sam in previous post.
the sitemap plugin of discourse do not update the sitemap urls to https:// (as usually seen in wordpress). It still shows http://. Please solve this issue. As it helps in faster https:// indexing after migrating to SSL
Seria ótimo adicionar a página inicial ao sitemap.
Pequenas sugestões:
Ela pode ser incluĂda em um arquivo separado chamado page_sitemap.xml (incluindo páginas como Homepage, Privacidade, TOS e Sobre).
Atualmente, essas páginas já estão no Google Search Console com o status (Indexadas, não enviadas no sitemap).
Para páginas de categoria e tag, a opção de marcação abaixo precisa ser incluĂda nas configurações do plugin. Essas páginas já estĂŁo incluĂdas no Google Search Console como (Indexadas, nĂŁo enviadas no sitemap).
a) Categoria: adicionar no sitemap “Sim” ou “Não”
b) Tags: adicionar no sitemap “Sim” ou “Não”
Nota: essa opção ajudará quem deseja desativar o rastreamento de páginas de categorias e tags. Ao selecionar a opção “Não”, essas páginas incluirão {content=“noindex”}.
Isso ocorre porque este plugin foi projetado para ajudar os mecanismos de busca a indexar seu site mais rapidamente. Lamento, mas sua solicitação exigirá um plugin personalizado.