Discourse Sitemap

:discourse2: Summary Discourse Sitemap adds a sitemap.xml to your Discourse instance
:open_book: Install Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately.

Features

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)

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

TODO

「いいね!」 61

Sorry about that. With the fix added on your repo, I’ll just remove this one.

「いいね!」 3

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.

「いいね!」 5

I guess the problem is that it is never able to even render first time around.

grabbing 50K topics can take a while, I would try a pluck there instead of a select cause it would be much faster

Short of that a site setting to limit the size cause maybe smaller batches are needed … not sure.

「いいね!」 2

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

I only post 1 photos 1 topic

Hi, what could be the reason I get error 502 bad gateway on my sitemap?
https://forum.dobreprogramy.pl/sitemap.xml

ホームページをサイトマップに追加するのは素晴らしいアイデアです。

小さな提案:

  1. ページを別々の page_sitemap.xml に含めることができます(ホームページ、プライバシーポリシー、利用規約、About などのページを含む)。

現在、これらのページは Google コンソールで「インデックスに登録済み、サイトマップに登録未済」として表示されています。

image

  1. カテゴリーページとタグページについては、プラグイン設定に以下のチェックオプションを追加する必要があります。これらのページもすでに Google コンソールで「インデックスに登録済み、サイトマップに登録未済」として表示されています。

a) カテゴリー: サイトマップに含める「はい」または「いいえ」

b) タグ: サイトマップに含める「はい」または「いいえ」

注記: このオプションにより、カテゴリーページやタグページのクロールを無効にしたいユーザーが設定できます。オプション「いいえ」を選択すると、これらのページに {content=“noindex”} が含まれます。

  1. 「画像サイトマップ」も、Google による画像の発見、クロール、インデックス登録を支援します。

パフォーマンスタブのコンソールレポートでは、Google 検索における画像のパフォーマンスが表示されます。

「いいね!」 4

@osioke サイトマップを追加しようとすると「取得できませんでした」と表示されます。クライアント向けのサンドボックスを、利用可能なすべてのプラグインと機能とともに作成しようとしており、これは最も重要な要件の一つです。

編集:ウェブサイトは https://testghost.tk です

これは、このプラグインが検索エンジンによるサイトのインデックス作成を迅速化するように設計されているためです。ご要望の機能には、残念ながら専用プラグインが必要となります。

「いいね!」 1

投稿が新しいトピックに分割されました:サイトマップを正しく使用する方法は?