We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7a1ea9 commit 7e4b8ddCopy full SHA for 7e4b8dd
config/sitemap.rb
@@ -1,6 +1,13 @@
1
# Set the host name for URL creation
2
SitemapGenerator::Sitemap.default_host = "https://coderdojo.jp"
3
4
+# Configure search engines to ping (exclude Google as it's deprecated)
5
+SitemapGenerator::Sitemap.ping_search_engines = true
6
+SitemapGenerator::Sitemap.search_engines = {
7
+ 'bing' => 'http://www.bing.com/ping?siteMap=%s',
8
+ # Google を非推奨になったため除外: https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping
9
+}
10
+
11
SitemapGenerator::Sitemap.create do
12
# Put links creation logic here.
13
#
0 commit comments