Skip to content
Generate XML sitemap for your Discourse forum.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app/views bump version Nov 17, 2018
config sitemap should be enabled by default Jun 15, 2018
.gitignore
.rubocop.yml Inherit rubocop config from discourse repo Dec 2, 2018
README.md bump version Nov 17, 2018
plugin.rb bump version Nov 17, 2018

README.md

Sitemap Plugin

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

You can’t perform that action at this time.