Skip to content

IndexNow for IIS / Windows Server

Easy

Copy the file into wwwroot and make sure .txt is served as static content.

IIS serves .txt files by default. The usual failure is a rewrite module sending everything to an application.

Step by step

  1. 1 Copy a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6.txt into your site's wwwroot folder.
  2. 2 If a URL Rewrite rule intercepts it, add the exclusion below to web.config.
  3. 3 Confirm the URL loads, then click Verify.

web.config exclusion

<rule name="IndexNow key" stopProcessing="true">
  <match url="^a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6\.txt$" />
  <action type="None" />
</rule>

The key shown is an example. Yours is generated when you add the domain.

Watch out for

  • Place the rule above any catch-all rewrite rule.

Then what?

Hosting the key file proves you own the domain — it doesn't submit anything on its own. You still need something watching for changes and calling the IndexNow API with the right URLs at the right time. You can build that yourself, or let us run it for $12 a year.

Set up automatic submission

Stop waiting to be found

Set it up once. We keep telling the search engines about every change you make, for $12 a year.