Open unlimit opened 1 year ago
I tested it and both addresses work fine. If you want to use the address you mentioned, you can refer to
SitemapGenerator::Sitemap.ping_search_engines(newengine: 'http://newengine.com/ping?url=%s')
We can certainly close this issue as pings to Google have been deprecated and all requests to these endpoints will result in a 404 error: https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping
Hi! Accordingly to https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap, correct ping url for google is
https://www.google.com/ping?sitemap=FULL_URL_OF_SITEMAP
, but this gem useshttp://www.google.com/webmasters/tools/ping?sitemap=%s
. https://github.com/kjvarga/sitemap_generator/blob/28dd22c48597f8b2a44cbc7e20685e84975fe75b/lib/sitemap_generator/link_set.rb#L128 What is the correct url?