How to Fix the Rank Math IndexNow 403 Error (2026 Guide)
A 403 in the Rank Math IndexNow history means the API could not read your key file. Each cause is listed below with its fix, in the order I would test them.
By Oyekale Olawale · Updated November 2026
Quick Answer
A 403 response in the Rank Math IndexNow history means the IndexNow API could not find or read your API key file. Open Rank Math SEO → Instant Indexing → Settings, click Change Key, purge every cache, and click Check Key. If the new tab shows a 404 page or your homepage instead of the key, create a text file named [your_api_key].txt, place only the key inside it, and upload it to the root folder of your site. Submit one URL afterwards. A 202 response followed by a 200 response confirms the fix.
What a 403 Means in the Rank Math IndexNow History
Rank Math submits a URL to the IndexNow API each time an eligible post is published, updated or deleted. The API must then confirm that the site owner sent the request. It does this by loading a text file, named after your API key, from the root of your domain.
A 403 (Forbidden) response means this check failed. Rank Math’s documentation states that the API did not find the key and therefore could not confirm that the URL belongs to your site. The reference published by Yandex, one of the participating engines, describes the same situation as an invalid key: the key could not be loaded, or it does not match the URLs in the request.
Rank Math names the most likely cause. The text file that holds the API key was not created automatically, and a plugin conflict is one reason for that. Other causes are a rule that blocks the file and a stale cache.
The History tab under Instant Indexing records every submission with its response code. The table below lists the codes that Rank Math documents.
| Code | Label | Meaning in Rank Math | Action |
|---|---|---|---|
| 200 | OK | The URL was submitted to the IndexNow API. | None required. |
| 202 | Accepted | The API received the URL but still needs to validate the key. | Wait, then submit another URL. |
| 400 | Bad Request | The URL was not formatted correctly. | Correct the URL string. |
| 403 | Forbidden | The API did not find your key and cannot confirm ownership. | Use Fixes 1 to 5 below. |
| 422 | Unprocessable Entity | The URL belongs to another site. | Compare the host (Fix 4). |
| 429 | Too Many Requests | The API received more requests than the permitted quota. | Follow Rank Math’s 429 guide. |
A 404 page is a different matter. It never appears in the History tab. It appears in your browser when you open the key address and the file does not exist, and that observation points to Fix 2.
How the Key Check Works
When the Instant Indexing module is enabled, Rank Math generates an API key, hosts it dynamically on your site and serves it to the search engines. You do not normally create a file yourself. The manual file in Fix 2 is a fallback for sites where the automatic step fails.
The IndexNow protocol sets rules for the key. According to the Yandex reference, it must contain between 8 and 128 characters, and only letters, digits and dashes are accepted. Rank Math generates a valid key, so this matters only if you edit the key by hand.
What happens after you publish
The IndexNow endpoint is shared. A single submission reaches all participating engines, which Rank Math lists as Bing, Yandex, Seznam and Naver. Google does not appear on that list, a point that returns in the pros and cons section.
Confirm the Setup Before You Change Anything
Four conditions explain several reports of “missing” submissions that are not errors at all.
- The Instant Indexing module is enabled on the Rank Math dashboard.
- Advanced Mode is active. Rank Math states that the Instant Indexing settings are hidden in Easy Mode.
- The post types you want to submit are selected, an API key is displayed, and you have saved the changes.
- The post is not set to noindex. Rank Math does not submit noindex URLs automatically.
To test the connection on demand, open Rank Math SEO → Instant Indexing → Submit URLs, add one URL per line and click the submit button. The same menu offers a page-level action and a bulk action on the Posts screen. Read the newest row of the History tab after each test, because older rows keep the code they received at the time.
Fix 1: Change the API Key and Check the Key Location
Rank Math recommends this step first. A new key forces the plugin to create the key location again.
- Open Rank Math SEO → Instant Indexing → Settings and find the API Key field. Some plugin versions label this block IndexNow API Settings.
- Click Change Key. Rank Math generates a new key within a few moments.
- Purge the cache in your caching plugin, at your host and at your CDN.
- Click Check Key under the API Key location. A new tab opens at the address where Rank Math hosts the key.
- Read the result. The key text confirms that the file is served. A 404 page or the homepage means the file does not exist (go to Fix 2). A 403 page means something blocks the file (go to Fix 3).
- Submit one URL from the Submit URLs screen and read the History tab.
Fix 2: Add the Key File Manually
If Check Key opens a 404 page or the homepage, the file was not created. Rank Math’s documentation advises placing the file in the root of the website yourself.
- Copy the key. Select the full string in the API Key field.
- Create a plain text file. Name it after the key. A key of
a1b2c3d4e5f6produces the filea1b2c3d4e5f6.txt. The key shown here is a placeholder. - Paste the key as the only content. Rank Math states that the file must contain no extra spaces or characters. Remove any trailing blank line if your editor allows it.
- Upload the file to the root. In cPanel, open File Manager, select the
public_htmlfolder, click Upload and choose the file. With an FTP client such as FileZilla, drag the file into the remote folder that holds your WordPress installation, which is usuallypublic_html. This is the folder that containswp-content. - Open the address in a private window. Visit
https://yourdomain.com/a1b2c3d4e5f6.txtwith your own key. Only the key should appear on the page. - Submit a URL again. Expect 202 first and 200 on later submissions.
A command-line request gives a more exact reading than a browser. The first line of the response is the status code.
A status of 200 shows that the server delivers the file. Any other status shows where to look next.
File permissions on shared hosting are commonly 644, which allows the web server to read the file. Your host may use a different default, and the default is normally acceptable.
Fix 3: Remove Blocks Between the Key File and the API
Sometimes the file exists and Check Key shows the key, yet the History tab still reports 403. A rule in front of WordPress is then the next suspect.
robots.txt
Rank Math adds one condition to its description of Check Key: the key page must not be blocked through robots.txt. Open yourdomain.com/robots.txt and search for a Disallow rule that covers text files in the root. A broad pattern such as the one below would match the key file.
If Rank Math manages the file, edit it under Rank Math SEO → General Settings → Edit robots.txt. Remove the pattern or add an Allow rule for the key address.
Security plugins, host firewalls and CDNs
A firewall, security plugin or CDN can return its own 403 before the request reaches WordPress. The status code alone does not reveal which layer answered, so compare the response body and headers. A page branded by a security vendor points to that vendor. A plain server message points to the host.
For a test, pause the suspected rule for a few minutes, request the key address again and restore the rule afterwards. If the key loads while the rule is paused, create an allow rule for the key path. Every firewall words this setting differently, and I cannot name one menu that applies to all of them.
Cached responses
Rank Math tells users to clear the cache after changing the key. A cache that stored an earlier “file not found” answer can keep serving it, so purge the plugin cache, the host cache and the CDN again after Fix 2.
Fix 4: Match the Domain Exactly
A 422 response indicates that the submitted URL belongs to another site. Differences in the host cause most of these cases. Open Settings → General in WordPress and compare the WordPress Address and the Site Address with the address in your browser bar. The protocol and the www prefix must agree everywhere.
A redirect between the www and non-www versions can also hide the problem. The key may load at one host and fail at the other. Choose one canonical host and confirm that the key address loads on it without an extra redirect.
Fix 5: Isolate a Plugin Conflict
Rank Math lists a plugin conflict as a reason why the key file is not created. The test is simple, although it takes some patience. Work on a staging copy where possible.
- Deactivate every plugin except Rank Math. The Health Check & Troubleshooting plugin offers a troubleshooting mode that disables plugins for your own session only.
- Click Change Key, then Check Key.
- If the key now loads, reactivate the other plugins one at a time and repeat the check after each one.
- The plugin that brings back the 404 page is the conflict. Send its name and the steps above to Rank Math support.
As a general WordPress step, open Settings → Permalinks and click Save Changes without altering anything. This regenerates the rewrite rules. The step does not come from Rank Math’s documentation, and it carries no risk.
If you also run the Instant Indexing for Google plugin
Rank Math publishes a separate plugin named Instant Indexing for Google. It sends requests to the Google Indexing API and also shows IndexNow settings. Its changelog lists version 1.1.22, dated November 21, 2025, with the fix “Changing the API Key in the IndexNow settings was not working”. Update that plugin if you use it, because the Change Key step in Fix 1 depends on it.
The plugin readme also states that Google recommends the Indexing API only for job posting and livestream pages. Most blogs fall outside those types.
Symptom-to-Fix Reference Table
| What you see | Likely cause | Fix |
|---|---|---|
| 403 soon after enabling the module | Key file not created automatically | Fix 1, then Fix 2 |
| Check Key opens a 404 page or the homepage | File does not exist at the root | Fix 2 |
| Check Key shows the key, History still shows 403 | robots.txt rule, firewall or CDN | Fix 3 |
| 403 after a later key change | Manual file holds the old key, or a cache holds old output | Replace the file, purge caches |
| 422 in the History tab | URL host differs from the key host | Fix 4 |
| 202 that does not change | Key still awaiting verification | Confirm the file loads, wait, submit other URLs |
| Key file works only with some plugins disabled | Plugin conflict | Fix 5 |
Troubleshooting flow
Go to Fix 2
Go to Fix 3
Go to Fix 4
Is IndexNow Through Rank Math Worth Keeping?
IndexNow tells participating engines that a URL changed. The engine then decides whether and when to crawl and index the page. Rank Math’s own FAQ makes this point, and it limits what any fix on this page can promise.
✓ Advantages
- Available in the free version of Rank Math.
- Submits automatically when a post is published, updated or deleted.
- One submission reaches every participating engine.
- The History tab records each response code.
- Manual, page-level and bulk submission are all available.
✗ Limitations
- Google is not among the engines Rank Math lists.
- Indexing remains at the discretion of each engine.
- A missing or blocked key file stops verification.
- Noindex pages are not submitted automatically.
- Settings require Advanced Mode.
Google needs a separate route, mainly Search Console and a good sitemap. The wider question of where visibility comes from is changing as well. My notes on how Google AI Overviews affect SEO and on GEO versus SEO cover that shift.
Bing matters more than its share of searches suggests, because other products draw on its results. For a site that publishes often, a working IndexNow connection is a small cost. Sites that publish at volume, for example through an SEO automation tool such as RankPill, send many new URLs each week, so one broken key file affects every one of them.
Keep the Connection Healthy After the Fix
A repaired key file can break again after routine changes. These habits catch the problem early.
- ✓ Read the History tab after publishing a new post. A 200 is the expected result.
- ✓ Replace the manual key file and purge caches after every Change Key action.
- ✓ Click Check Key after a host migration, a domain change or a switch to a new CDN.
- ✓ Request the key address again after you add a firewall rule or update a security plugin.
- ✓ Keep Rank Math and the Instant Indexing for Google plugin on current versions.
A recurring crawl also helps, because most site audit tools report 4xx responses for any URL. The all-in-one SEO software comparison, the Semrush review and the Search Atlas review describe tools that can run such audits.
How This Guide Was Checked
I compared three Rank Math pages: the knowledge base article on the 403 error (last modified July 10, 2025), the article on using IndexNow (last modified September 26, 2023) and the changelog, whose newest entry was dated October 16, 2026. I read the IndexNow request reference published by Yandex for the response codes and key rules. I also read the readme and changelog of the Instant Indexing for Google plugin.
I did not reproduce a 403 on a live site for this update. The robots.txt, firewall and CDN steps therefore follow general HTTP diagnostics and not a tested result on one host. Menu labels can differ between plugin versions, so compare them with your own dashboard.
FAQ
Why does Rank Math show 202 before 200?
The 202 status means the IndexNow API accepted the URL and has not yet validated the key. Once the key file is reachable and verified, later submissions return 200.
What must the IndexNow key file contain?
The file contains the API key and nothing else, with no extra spaces or characters. Its name is the key followed by .txt, and it sits in the root folder of the website.
Does a 403 mean the plugin is broken?
Not necessarily. The status says that the API could not load or match the key. The cause is more often a missing file, a block or a cache than a fault in the plugin code.
Does IndexNow submit URLs to Google?
No. Rank Math lists Bing, Yandex, Seznam and Naver as the engines that use IndexNow. Google indexing runs through Search Console and sitemaps, or through the Google Indexing API for the page types it supports.
Why can I not see the Instant Indexing settings?
Rank Math hides these settings in Easy Mode. Switch the plugin to Advanced Mode and reload the dashboard.
Will a 200 response get my page indexed?
A 200 shows that the submission was accepted. The engine still decides whether to crawl and index the page, so the response guarantees neither speed nor inclusion.
Conclusion
The Rank Math IndexNow 403 error has one underlying meaning: the API could not load a key file that matches your key. Changing the key and clicking Check Key resolves many cases. A manual key file in the site root resolves most of the remainder.
If both steps fail, look at robots.txt, the firewall, the CDN and the domain settings, in that order. Test for a plugin conflict last, because it takes the longest. Treat 202 followed by 200 as the signal that verification works, and read the History tab after the next post you publish.