# IndexNow

**URL:** <https://discourse.gohugo.io/t/indexnow/48899>\
**Category:** support\
**Created:** [March 18, 2024, 12:40pm UTC](https://discourse.gohugo.io/t/indexnow/48899 "2024-03-18T12:40:13Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![mickel1982](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@mickel1982](https://discourse.gohugo.io/u/mickel1982)\
**Post date:** [March 18, 2024, 12:40pm UTC](https://discourse.gohugo.io/t/indexnow/48899/1 "2024-03-18T12:40:14Z")

</div>

Is there a way to implement IndexNow on a Hugo website?

[https://www.bing.com/indexnow/](https://www.bing.com/indexnow/)

[https://www.indexnow.org/documentation](https://www.indexnow.org/documentation)

---

<div class="post-metadata">

**Author:** ![idarek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/idarek/32/26229_2.png) [@idarek](https://discourse.gohugo.io/u/idarek)\
**Post date:** [March 18, 2024, 1:05pm UTC](https://discourse.gohugo.io/t/indexnow/48899/2 "2024-03-18T13:05:45Z")

</div>

As far as I know, through Hugo no. You may through some actions on hosting providers, but hugo do not have ability to generate POST responses.

---

<div class="post-metadata">

**Author:** ![davidsneighbour](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/davidsneighbour/32/24507_2.png) [@davidsneighbour](https://discourse.gohugo.io/u/davidsneighbour)\
**Post date:** [March 18, 2024, 1:19pm UTC](https://discourse.gohugo.io/t/indexnow/48899/3 "2024-03-18T13:19:04Z")

</div>

There might be ways, but two things are issues here:

- GoHugo does not know what pages are updated/new from the last time you ran `hugo`. IndexNow works on the submission of changed or new pages. If you can create a file containing all changed URLs from the last time you pinged, then you can let GoHugo ping the search engines you wish to notify. But this is a feature that has nothing to do with the website itself, but with the after-deployment process. When you run `hugo` on your site, the new pages are NOT available online yet, so you are announcing changes that do not exist yet. If the search engines are faster than your deployment process you loose trustworthiness.

- Google [abandoned pings](https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping) and expects you to have proper `changefreq` and `priority` instead in your sitemaps. So indexnow procedures will not work with Google. Are the other services you know important enough in the total scope of your site to create an integrated solution for this?

Better have proper sitemaps, and use the webmaster consoles of your preferred search engines to register your sitemaps.

---

<div class="post-metadata">

**Author:** ![mickel1982](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@mickel1982](https://discourse.gohugo.io/u/mickel1982)\
**Post date:** [March 18, 2024, 3:08pm UTC](https://discourse.gohugo.io/t/indexnow/48899/4 "2024-03-18T15:08:49Z")

</div>

Yes, I know Google does not use it, and I do have proper sitemaps and rss feeds. But Bing does support IndexNow. Bing even removed the submit URLs option. Bing replaced the submit URLs option by IndexNow.

---

<div class="post-metadata">

**Author:** ![idarek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/idarek/32/26229_2.png) [@idarek](https://discourse.gohugo.io/u/idarek)\
**Post date:** [March 18, 2024, 6:07pm UTC](https://discourse.gohugo.io/t/indexnow/48899/5 "2024-03-18T18:07:40Z")

</div>

> [@mickel1982](#):
>
> Bing even removed the submit URLs option. Bing replaced the submit URLs option by IndexNow.

No it doesn’t.  
You using URL Inspection, putting URL through there (Inspect) and then you are presented with button Request indexing.

---

<div class="post-metadata">

**Author:** ![devsr-gt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/devsr-gt/32/15058_2.png) [@devsr-gt](https://discourse.gohugo.io/u/devsr-gt)\
**Post date:** [March 19, 2024, 5:04am UTC](https://discourse.gohugo.io/t/indexnow/48899/6 "2024-03-19T05:04:33Z")

</div>

You can get google to index pretty quickly by using their indexing api. Here is how [GitHub - swalker-888/google-indexing-api-bulk: Submit URLs in bulk to Google's Indexing API using a batch request](https://github.com/swalker-888/google-indexing-api-bulk) Also you can have it deindex. It actually listens to your requests.

---

<div class="post-metadata">

**Author:** ![devsr-gt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/devsr-gt/32/15058_2.png) [@devsr-gt](https://discourse.gohugo.io/u/devsr-gt)\
**Post date:** [March 19, 2024, 5:07am UTC](https://discourse.gohugo.io/t/indexnow/48899/7 "2024-03-19T05:07:32Z")

</div>

Would only worry about chatgpt [Search Engine Market Share Worldwide | Statcounter Global Stats](https://gs.statcounter.com/search-engine-market-share)

---

<div class="post-metadata">

**Author:** ![mickel1982](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@mickel1982](https://discourse.gohugo.io/u/mickel1982)\
**Post date:** [March 19, 2024, 9:14am UTC](https://discourse.gohugo.io/t/indexnow/48899/8 "2024-03-19T09:14:19Z")

</div>

Bing had a option to add and submit multiple URLs at once. They removed it.

---

<div class="post-metadata">

**Author:** ![idarek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/idarek/32/26229_2.png) [@idarek](https://discourse.gohugo.io/u/idarek)\
**Post date:** [March 19, 2024, 1:03pm UTC](https://discourse.gohugo.io/t/indexnow/48899/9 "2024-03-19T13:03:17Z")

</div>

The bulk, yes, the individual still working.

---

<div class="post-metadata">

**Author:** ![davidsneighbour](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/davidsneighbour/32/24507_2.png) [@davidsneighbour](https://discourse.gohugo.io/u/davidsneighbour)\
**Post date:** [March 21, 2024, 2:04pm UTC](https://discourse.gohugo.io/t/indexnow/48899/10 "2024-03-21T14:04:56Z")

</div>

> [@davidsneighbour](#):
>
> GoHugo does not know what pages are updated/new from the last time you ran `hugo`. IndexNow works on the submission of changed or new pages. If you can create a file containing all changed URLs from the last time you pinged, then you can let GoHugo ping the search engines you wish to notify. But this is a feature that has nothing to do with the website itself, but with the after-deployment process. When you run `hugo` on your site, the new pages are NOT available online yet, so you are announcing changes that do not exist yet. If the search engines are faster than your deployment process you loose trustworthiness.

This much longer point is still valid. Reporting the updates to whatever search engine you chose is something that you have to do AFTER you deploy your site, which is long AFTER GoHugo creates your site. The max it can do is to create a file that contains all changes between your deploys and then use that in a bash or javascript to send to your indexing-endpoint. You need to somehow have a list of content files that were changed last time and then compare against the new state.

If I would have to or want to do that I would create some form of workflow script that compares git commites and when content files are changed retrieves the URLs and POSTs them. Outside of GoHugo.

---

<div class="post-metadata">

**Author:** ![devsr-gt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/devsr-gt/32/15058_2.png) [@devsr-gt](https://discourse.gohugo.io/u/devsr-gt)\
**Post date:** [August 8, 2024, 3:08am UTC](https://discourse.gohugo.io/t/indexnow/48899/12 "2024-08-08T03:08:28Z")

</div>

it used to say i retract this statement

---

<div class="post-metadata">

**Author:** ![idarek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/idarek/32/26229_2.png) [@idarek](https://discourse.gohugo.io/u/idarek)\
**Post date:** [May 7, 2025, 5:57am UTC](https://discourse.gohugo.io/t/indexnow/48899/13 "2025-05-07T05:57:54Z")

</div>

If anybody is interested with IndexNow, there is repo [IndexNow-Submit – CLI tool to help with submitting content URLs to search engines](https://github.com/robogeek/indexnow)

If you look at the section:  
[Fetching an existing Sitemap using `indexnow-submit](Fetching an existing Sitemap using indexnow-submit)

This, in theory can be utilised to get updated URL based on lastmod date reported in sitemap. This can be used to report URLs to search engines.

It is something that need to be run after site is build and is not dependant on SSG or other solution used. Just make sure you got sitemap incorporated on a site than follow this repo and try.

---

<div class="post-metadata">

**Author:** ![idarek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/idarek/32/26229_2.png) [@idarek](https://discourse.gohugo.io/u/idarek)\
**Post date:** [May 7, 2025, 5:59am UTC](https://discourse.gohugo.io/t/indexnow/48899/14 "2025-05-07T05:59:53Z")

</div>

Also, somebody build the tool on website:

> **[Home - IndexNow.com](https://www.indexnow.com)**
>
> IndexNow.com helps you get your pages indexed faster by submitting your fresh content to multiple search engines.

---

<div class="post-metadata">

**Author:** ![jo\_shim](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jo_shim/32/13059_2.png) [@jo\_shim](https://discourse.gohugo.io/u/jo_shim)\
**Post date:** [May 7, 2025, 10:02pm UTC](https://discourse.gohugo.io/t/indexnow/48899/15 "2025-05-07T22:02:15Z")

</div>

feel free to use my tool .. it makes it easy [indexedpage.com](http://indexedpage.com)
