5 points · by pyeri · 2y ago · 3 comments
Presently, only Bing and Yandex have adopted this protocol and Duckduckgo is about to make its mind while Google is considering. What do you think? Is this beneficial for SEO?
[1]: https://www.searchenginejournal.com/indexnow-what-we-know/439679/
// generate a key at https://www.bing.com/indexnow/getstarted
const key = 'REPLACE_ME';
export const submitUrlsToIndexNow = async (urls: string[]) => {
await fetch('https://api.indexnow.org/IndexNow', {
body: JSON.stringify({
host: 'pillser.com',
key,
keyLocation: `https://pillser.com/${key}.txt`,
urlList: urls,
}),
headers: {
'Content-Type': 'application/json',
},
method: 'POST',
});
};
I now just auto submit when updates to products are published.Thanks!