Geeklog-Core / geeklog

Geeklog - The Secure CMS.
https://www.geeklog.net
25 stars 19 forks source link

Bing Ping Sitemap changes has stopped working and may need to be replaced #1105

Closed eSilverStrike closed 2 years ago

eSilverStrike commented 2 years ago

It's been 2 weeks and pinging Bing when new or updated content has been added is still not working.

Quoted from https://www.ctrl.blog/entry/sitemap-ping-indexnow.html

The API endpoint at bing.com/ping now returns an HTTP 410 Gone error message. The error message suggests deliberation and permanence (as opposed to an intermittent problem (HTTP 500) or an HTTP 404 Not Found).

There is no official word that Bing has actually stopped supporting ping so they may still fix it.

Bing (and Yandex) (and maybe Google in the future) now support the IndexNow initiative. It is a new API from Bing and Yandex that launched in November 2021. IndexNow lets any website submit one or more new or changed URLs to all participating search engines with one API call.

https://www.indexnow.org/

This is something we may want to look into supporting instead if Bing Ping does not come back online.

eSilverStrike commented 2 years ago

Still not back only so it looks to be official.

https://bing.com/indexnow

This type of ping will work a little bit different since with indexnow you ping the search engine the url of the page (article, forum post, etc.) that changed and not just the sitemap file.

The search engine you ping will then also share the change with all other search engines who use indexnow (which is Yandex at the moment)

Indexnow also requires a key which we will need to store in the config along with an extra txt file used to verify the host.

eSilverStrike commented 2 years ago

Should work fine now but IndexNow part with key etc. needs to be tested in a production environment.

eSilverStrike commented 2 years ago

Fixed forum issues with ping. Was missing required function plugin_idToURL_forum

https://github.com/Geeklog-Plugins/forum/commit/9dcbd417861ce79869ab5f5de712099306108652