Skip to content

Commit 9189653

Browse files
committed
Comment out outdated ping style in sitemap config
1 parent 9d156cd commit 9189653

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

config/sitemap.rb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# Set the host name for URL creation
22
SitemapGenerator::Sitemap.default_host = "https://coderdojo.jp"
33

4-
# Configure search engines to ping
5-
SitemapGenerator::Sitemap.search_engines = {
6-
'bing' => 'http://www.bing.com/ping?siteMap=%s',
7-
# Google を非推奨になったため除外: https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping
8-
}
4+
# NOTE: Ping to search engines is outdated
5+
# Bingのping APIは廃止され、IndexNowに移行 https://github.com/kjvarga/sitemap_generator/issues/391
6+
# Google も非推奨になった: https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping
7+
#SitemapGenerator::Sitemap.search_engines = {}
98

109
SitemapGenerator::Sitemap.create do
1110
# Put links creation logic here.

0 commit comments

Comments
 (0)