Skip to content

Commit 0bab446

Browse files
committed
1 parent 84fd437 commit 0bab446

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

config/sitemap.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
# NOTE: Ping to search engines is outdated
55
# Bingのping APIは廃止され、IndexNowに移行 https://github.com/kjvarga/sitemap_generator/issues/391
66
# Google も非推奨になった: https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping
7-
#SitemapGenerator::Sitemap.search_engines = {}
7+
8+
# TODO: This is workaround. Will be deleted in the future release.
9+
# https://github.com/kjvarga/sitemap_generator/issues/432
10+
SitemapGenerator::Sitemap.search_engines.delete(:google)
811

912
SitemapGenerator::Sitemap.create do
1013
# Put links creation logic here.

0 commit comments

Comments
 (0)