How to Enable IndexNow So New Pages Are Submitted on Publish

IndexNow is a free protocol that lets your site ping participating search engines whenever a URL is added, updated or deleted, instead of waiting for them to recrawl. Because it runs at publish time, it cannot be detected from outside your site. By the end of this guide you will have a verified key file, automatic pings on publish, and proof in Bing Webmaster Tools that submissions are arriving.

By Updated ⏱ 15–30 minutes🎯 Beginner● Low impactTechnical
Illustration: IndexNow on publish fix guide
TECHNICAL · FIX GUIDE IndexNow on publish IMPACTEFFORT TIME15–30 minutes LEVELBeginner

Why it matters

Without IndexNow, Bing and other participating engines find changes only on their next crawl, which can take days for low-traffic pages. That delay affects Bing search, and AI products that draw on Bing's index, such as Microsoft Copilot. Price changes, new product pages, corrected facts and removed pages are picked up within minutes to hours instead.

Google does not use IndexNow, so this complements your sitemap rather than replacing it.

✕BeforeYou publishhttps://example.com/blog/new-post andBing only discovers it 5 days later,✓AfterPublishinghttps://example.com/blog/new-posttriggers an IndexNow POST that returns

What you need

Admin access to your CMS, or to your CDN dashboard
Ability to place a file at your site root, or a plugin or integration that does it for you
A verified site in Bing Webmaster Tools (free)
Terminal access with curl (optional, for testing)

Step-by-step fix

1

Check whether your platform already sends IndexNow

Several platforms ping IndexNow automatically, so check before adding anything. Running two implementations creates duplicate submissions and can lead to key conflicts.

  • Wix: built in, no action needed.
  • Cloudflare: available as the Crawler Hints setting.
  • WordPress: available through plugins such as Rank Math, AIOSEO or Microsoft's IndexNow plugin.

If one of these covers you, enable it, skip to step 5 and use platformNotes for the exact setting.

Pro tip: In Bing Webmaster Tools, open the IndexNow report in the left menu. If URLs are already listed there, something is already submitting for you.
2

Generate an IndexNow API key

The key proves you control the domain. It must be 8–128 characters long and use only a-z, A-Z, 0-9 and dashes. You can generate one in Bing Webmaster Tools under IndexNow, or create a random hex string locally.

text
openssl rand -hex 16
# example output: 3f9a1c7e5b2d4086a1e3c5f7b9d0e2a4
Pro tip: Use a single key per host. Keep it in your CMS config or environment variables, not hard-coded in several scripts.
3

Host the key file at your site root

Create a UTF-8 text file named {key}.txt that contains only the key, and serve it at the root of the host. It must return HTTP 200 with a text/plain content type, and it must not redirect. Each subdomain, such as shop.example.com, needs its own file.

text
# File: https://example.com/3f9a1c7e5b2d4086a1e3c5f7b9d0e2a4.txt
3f9a1c7e5b2d4086a1e3c5f7b9d0e2a4
Pro tip: If you cannot write to the root, host the file elsewhere on the same host and pass its URL in the keyLocation parameter.
4

Send a ping whenever content is published

If you have no plugin or integration, call the shared endpoint from your publish, update or delete hook. org` is shared with all participating engines, so you only need to send it once. Send changed URLs only, not your whole sitemap.

Each POST can include up to 10,000 URLs, all on the same host.

text
curl -X POST "https://api.indexnow.org/indexnow" \
  -H "Content-Type: application/json; charset=utf-8" \
  -d '{
    "host": "example.com",
    "key": "3f9a1c7e5b2d4086a1e3c5f7b9d0e2a4",
    "keyLocation": "https://example.com/3f9a1c7e5b2d4086a1e3c5f7b9d0e2a4.txt",
    "urlList": [
      "https://example.com/blog/new-post",
      "https://example.com/products/blue-mug"
    ]
  }'
Pro tip: Also ping URLs you delete or redirect. A ping tells engines to recrawl, and on that recrawl they see the 404, 410 or 301 sooner.
5

Wire the ping into your publish workflow

In a custom stack, call the endpoint from the same place that clears your cache or rebuilds the page. Typical places are a CMS webhook such as Contentful, Sanity or Strapi, a Next.js route handler, or a CI deploy step. Fire it only after the new content is live, so engines don't crawl a stale cached version.

javascript
// app/api/revalidate/route.js (Next.js)
export async function POST(req) {
  const { urls } = await req.json();
  // ...revalidatePath() calls here...
  await fetch('https://api.indexnow.org/indexnow', {
    method: 'POST',
    headers: { 'Content-Type': 'application/json; charset=utf-8' },
    body: JSON.stringify({
      host: 'example.com',
      key: process.env.INDEXNOW_KEY,
      keyLocation: `https://example.com/${process.env.INDEXNOW_KEY}.txt`,
      urlList: urls
    })
  });
  return Response.json({ ok: true });
}
Pro tip: Batch pings when you edit many pages at once. Repeated pings for the same URL can return HTTP 429 (too many requests).
6

Confirm the key file and the API response

Fetch the key file and check the status code returned by a test submission. What the status codes mean:

  • 200: accepted.
  • 202: received, key validation still pending.
  • 400: malformed request.
  • 403: key not found or doesn't match the file.
  • 422: URLs don't belong to the host.
  • 429: rate limited.

After that, open Bing Webmaster Tools → IndexNow and check that your test URLs appear with a recent submission time.

text
curl -i https://example.com/3f9a1c7e5b2d4086a1e3c5f7b9d0e2a4.txt
curl -i "https://api.indexnow.org/indexnow?url=https://example.com/blog/new-post&key=3f9a1c7e5b2d4086a1e3c5f7b9d0e2a4"
Pro tip: Our audit marks this check as not verifiable from outside. Keep a screenshot of the Bing IndexNow report as your evidence that it is enabled.

Platform-specific notes

WordPress

Pick one plugin only: - **Rank Math**: enable the Instant Indexing module under Rank Math → Dashboard, then select post types under Rank Math → Instant Indexing. - **AIOSEO**: enable IndexNow under Feature Manager. - **Microsoft's IndexNow plugin**: works on its own. Each of these generates and serves the key file automatically.

Cloudflare

Go to Caching → Configuration and turn on **Crawler Hints**. Cloudflare then sends IndexNow signals when it sees cached content change. It works on all plans, but it reacts to cache changes rather than your CMS publish event.

Wix

IndexNow is built in and runs automatically for published sites. There is nothing to configure. Just confirm submissions in Bing Webmaster Tools.

Shopify

There is no native IndexNow support. Install an IndexNow app from the Shopify App Store, or use Cloudflare Crawler Hints if your domain is proxied through Cloudflare. Shopify themes cannot serve arbitrary root .txt files, so use an app that handles key hosting, or use keyLocation.

Next.js / headless

Serve the key file from /public, so that /public/{key}.txt is served at the site root. Send the POST from your revalidation route or CMS webhook handler, and store the key in an environment variable.

Check that it worked

✅ How to verify

  • Run curl -i https://example.com/{key}.txt and confirm it returns HTTP 200, with no redirect and a body that is only the key.
  • Submit a test URL to https://api.indexnow.org/indexnow and confirm you get HTTP 200 or 202, not 403 or 422.
  • Publish or update a page, then check Bing Webmaster Tools → IndexNow for that URL with a matching timestamp.
  • After 24–48 hours, use URL Inspection in Bing Webmaster Tools to confirm the updated version is indexed.

⚠️ Common mistakes

  • Running two IndexNow sources at once (for example a WordPress plugin plus Cloudflare Crawler Hints), which causes duplicate pings and possible key mismatches.
  • Serving the key file through a redirect (http→https or www→non-www) or behind a login or bot protection, which produces 403 errors.
  • Submitting the entire sitemap on every deploy instead of only changed URLs, which leads to 429 rate limiting.
  • Expecting Google to pick up the pings. Google does not participate, so keep your XML sitemap and Search Console setup in place.

Is this still an issue on your site? Run a free audit — ZORO checks this and 294 other SEO, AI-visibility, accessibility and security signals, with fixes for your platform.

Check my site free

FAQ

Does Google support IndexNow?

No. As of 2026, Google does not use IndexNow. The participating engines include Bing, Yandex, Seznam, Naver and Yep. Keep submitting your XML sitemap in Google Search Console.

Do I need to ping each search engine separately?

No. Participating engines share submissions with each other. One request to api.indexnow.org, or to any single engine's endpoint, reaches all of them.

Does IndexNow guarantee my page gets indexed?

No. It guarantees the engine learns about the change quickly. Whether the page is indexed still depends on its quality, canonical tags, robots rules and noindex directives.

Is IndexNow safe? Can someone else submit my URLs?

Only someone who can host your key file on your domain can submit for it. The key is public by design, and the most it allows is asking engines to recrawl your own URLs. Rotate the key if you suspect abuse.