bcat95 / discourse-sitemap

Generate XML sitemap for your Discourse forum.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sitemap Plugin

https://meta.discourse.org/t/discourse-sitemap/40348/

Installation

Follow the usual installation instructions.

On a non-Docker install do bundle exec rake plugin:install repo=http://github.com/discourse/discourse-sitemap. There is no need for asset precompilation.

Setup

Just go to Admin - Settings - Plugins and check sitemap enabled

Usage

The sitemap plugin publishes two files:

  • /sitemap.xml : the regular Google Sitemap format
  • /news.xml : special sitemap for Google News containing all new topics in the last three days

Known issues

The plugin does not use it's own engine, but monkey patched the robots_txt controller (since we had to do that anyway). If you know how to fix this issue, any help is welcome.

License

MIT

About

Generate XML sitemap for your Discourse forum.


Languages

Language:Ruby 65.5%Language:HTML 33.2%Language:JavaScript 1.3%