Skip to the content
Start free

The IndexNow key file cannot be read

Search engines that use IndexNow check a key file on your site before they accept your list of changed pages. Yours is missing, refused or wrong.

Medium priority Indexing and canonicals

Why it matters #

IndexNow is a simple way to tell search engines such as Bing, Yandex and Seznam that pages have changed. Google does not use it. To show the site is yours, you put a key of 8 to 128 letters, numbers or dashes in a text file at the root of the host, and send the same key with your list of addresses.

If the search engine cannot read that file, or the file holds something other than the key, it answers 403 (key not valid) and ignores the addresses. A key file that redirects to another host does not prove the host is yours, and IndexNow only accepts addresses on the host of the key file.

How to fix it #

Upload a plain text file named after your key, for example yourkey.txt, to the root of the host your pages use, holding only the key. Make sure it answers 200 to bots: check firewall and security plugin rules for .txt files at the root, and make sure the file sits on the same host, www or non-www, as your page addresses.

Then send your addresses again with the IndexNow Submit Tool. If you leave the key box empty, it makes a new key for you.

  1. Upload the key file to the root of the right host.
  2. Open it in a browser: it must show only the key.
  3. Send your addresses again.

What it looks like, and fixed #

The problem
GET /3f6a9c2e7b5d4e1f8a0b6c9d2e4f7a1b.txt HTTP/1.1
Host: www.example.com

HTTP/1.1 301 Moved Permanently
Location: https://www.example.com/

The key file redirects to the home page, so the search engine cannot read the key and answers 403.

Fixed
GET /3f6a9c2e7b5d4e1f8a0b6c9d2e4f7a1b.txt HTTP/1.1
Host: www.example.com

HTTP/1.1 200 OK
Content-Type: text/plain; charset=utf-8

3f6a9c2e7b5d4e1f8a0b6c9d2e4f7a1b

The file sits at the root of the same host as the pages, answers 200 and holds only the key.

Fix it with your AI assistant #

Paste this into ChatGPT, Claude, Gemini or your coding agent. Fill in the words in [square brackets] first. It checks before it changes anything, changes only this, and tells you how to prove it worked.

Your instruction for the AI
My website [your website address] runs on [your platform, e.g. WordPress on Apache]. I use IndexNow to tell Bing and other search engines about changed pages, but a check says my key file cannot be read. My key is [your IndexNow key]. First fetch [your website address]/[your IndexNow key].txt with a bot user agent and show me the status, any redirects, the Content-Type and the body (or ask me to paste them). Tell me in plain words what is wrong with it. Then give me the fix: a plain UTF-8 text file named after the key, holding only the key, at the root of the exact host my page addresses use, answering 200 to every visitor. Rules: do not change the key unless I agree, do not touch other files, and do not weaken firewall rules beyond an exception for this one file. Give me exact steps and where the file goes. Finally, tell me to re-check with the URSY.com IndexNow Submit Tool at ursy.com/indexnow-tool/.

We find the problems, and help you fix them

  1. Check Run a free tool or the full audit.
  2. Fix it with your AI Download your AI Fix Pack and drop it into ChatGPT, Claude or Gemini. A free account is enough.
  3. Re-check Come back, check again, and watch each fix turn green.

How the AI Fix Pack works, with a sample to download

Fix it on your platform #

WordPress

If an IndexNow plugin or the instant indexing module of your SEO plugin manages the key, open the key address it shows in a browser. If it fails, check security plugin rules for .txt files at the root.

Your server or hosting

Upload the key file to the web root of the host your pages use, www or non-www, and make sure no rewrite rule sends .txt files elsewhere.

Your CDN (for example Cloudflare)

Make sure your CDN does not challenge or block requests for the key file. Some CDNs can send IndexNow notices for you, with their own key.

Check it is fixed #

Send a changed page with the URSY.com IndexNow Submit Tool (/indexnow-tool/). It should report that the key file was found and the addresses were accepted with 200 or 202.

Official source #

IndexNow: Documentation

Questions #

Does Google use IndexNow?

No. Keep a sitemap and Google Search Console for Google; IndexNow is for search engines such as Bing, Yandex and Seznam.

Is the key a secret?

No. It has to be public in the key file. It only shows that you control the host.

More problems in Indexing and canonicals

See every problem in the library

For AI assistants and developers: Instructions for AI · Developers · How to cite URSY.com