← EmDash plugins
EmDash plugin · SEO

IndexNow for EmDash

Tells search engines about a change the moment you publish it — publish, update, unpublish, delete — so Bing and the other IndexNow engines recrawl the page right away.

v1.2.6 · npm · EmDash registry
What it does

Search engines find changes by crawling, and a new or updated page can wait days for the next visit. IndexNow lets the site tell them directly. The plugin listens to EmDash content events and sends the entry's public URL whenever something a visitor can see has changed. A URL sent to one participating engine reaches all of them: Bing and the products built on its index, Yandex, Seznam, Naver, Yep and others. Google does not use IndexNow, so the sitemap stays for Google.

Features

Every change that matters

Publish, publishing a change to a live entry, unpublish and delete. Removed URLs are sent too, so the engines drop them.

Never drafts or noindex

Drafts and entries marked noindex in the EmDash SEO panel are never sent.

The right URLs

Built from the collection URL pattern and locale prefix, or from your own URL rules for localized sections and entries that live inside another page.

Batched requests

POST with urlList, up to 10,000 URLs per request, with duplicates and foreign-host URLs removed.

A readable log

Every request is logged with a plain explanation of the response: 200, 202, 400, 403, 422, 429 or 5xx.

Retries

Rate limits, server errors and network failures are retried every 30 minutes.

Resubmit everything

One button sends every live, indexable URL of the tracked collections — for the first setup or a domain move.

Trusted or sandboxed

Runs in the site process or isolated in the EmDash sandbox. Network access only to the IndexNow endpoints.

In the admin

Submissions journal: the newest 100 requests and the 7-day totals
Submissions journal: the newest 100 requests and the 7-day totals
Settings: key, endpoint, collections and URL rules
Settings: key, endpoint, collections and URL rules
Dashboard widget with the last requests and warnings
Dashboard widget with the last requests and warnings

Install

  1. 01

    From the EmDash registry

    In the admin open Plugins → Marketplace, find IndexNow and install it. The dialog lists the capabilities for approval.

  2. 02

    Or from npm

    Requires EmDash 1.0.1 or later.

    Terminal
    pnpm add @tagperfect/emdash-plugin-indexnow
    astro.config.mjs
    import indexnow from "@tagperfect/emdash-plugin-indexnow";
    
    emdash({
      plugins: [indexnow],
      // or isolated, with the Worker Loader binding on Cloudflare:
      // sandboxed: [indexnow],
      // sandboxRunner: sandbox(),
    });
  3. 03

    Set the key

    Open IndexNow in the admin, generate a key and serve it as /{key}.txt at the site root — a static file in public/, a route, or a rewrite to the plugin's key route. Turn on submissions and save.

1.2.6
Current version · npm and registry
10,000
URLs per request
30 min
Retry interval for failed requests
MIT
Open source license
Works with
EmDash 1.0.1+AstroCloudflare WorkersSandboxed pluginsBingYandexSeznamNaverYep

Questions

Does it work with Google?

No. Google does not support IndexNow. Keep your sitemap and Search Console for Google; the plugin covers the engines that do support it.

Why does it need a key file?

IndexNow checks that you own the host by reading the key from the site root. A key file covers only URLs in its own folder and below, so it has to sit at the root, not under the plugin's API path.

What can the plugin access?

content:read to read the changed entry and its URL, schema:read to list collections, and network requests only to the IndexNow endpoints. Nothing else.

Is it free?

Yes. MIT licensed, source on GitHub.

Start a project

Let's build
something real.

Privacy This site collects anonymous usage data to improve your experience.
Analytics This site collects anonymous usage data to improve your experience.