|
/ Documentation /AI Ready/ How to Fix the auth.md Result in SureRank AI Ready Checks

How to Fix the auth.md Result in SureRank AI Ready Checks

The auth.md check in SureRank tests whether the site publishes a file at /auth.md that tells an AI agent how to sign in to the site. On WordPress, that means signing in with an Application Password. This guide explains each message the check can show, and how to fix it.

Requirements

  • SureRank and SureRank Premium, both active and updated to the latest versions
  • AI Ready turned on. See What Is AI Ready in SureRank?.

What the Check Looks At

SureRank first checks whether WordPress offers Application Passwords on the site. WordPress offers them on sites that use HTTPS, and a plugin can turn them off. If they are not available, there is nothing true for auth.md to describe, so the file is not published.

If Application Passwords are available and the Publish auth.md switch is on, SureRank requests https://example.com/auth.md, with your own domain in place of example.com. It checks that it gets a plain text file that begins with a heading that mentions auth.md.

The row shows Passed and reads “Your auth.md is being served.” when the file is published and usable. The row is shown only for a site at the root of a domain.

Before You Begin

If you’re looking to see which message the site shows, follow the steps below.

  1. Go to SureRank → AI Ready → AI Ready Checks.
  2. Find the row that begins with “Agents have no way to sign in to your site”, “You are not publishing an auth.md”, “Your auth.md is not reaching SureRank”, or “Something else is answering at /auth.md.”
  3. Click Fix It For Me on the row. If the row shows Help Me Fix instead, follow the steps in this guide.

How to Find Out What Answers an Address

If a row says that something else is answering an address, or that the address is not reaching SureRank, find out what the server sends back first. Follow the steps below. The same details help the developer or the host.

  1. Open the address from the row in a private browser window, with your own domain in place of example.com.
  2. Look at what loads. A normal web page, a server error page, and a text or JSON file each point to a different cause.
  3. To see the status number, open the browser developer tools (right-click the page and choose Inspect), go to the Network tab, reload the page, and click the first request. Note the Status and the Content-Type.
  4. Write down the exact address, the status number, the Content-Type, and the message on the row.

When you ask the developer or the host for a change, send these four details. They are needed to find which rule answers the address.

Common Issues

This section lists each message and what to do about it. After each fix, click Run Checks to test again.

Issue: “Agents have no way to sign in to your site.”

Symptom: The row shows a Suggestion and no Fix It For Me button. The panel explains that Application Passwords are switched off.

Cause: WordPress does not offer Application Passwords on the site. Either the site is not on HTTPS, or a plugin turned them off.

Fix:

  1. Make sure the site is served over HTTPS.
  2. If the site is on HTTPS, check whether a security plugin turns off Application Passwords, and allow them if the site should let agents sign in. For example, Wordfence turns them off by default, and its option for this is called Disable WordPress application passwords. Turn that option off in the plugin if the site should let agents sign in.
  3. Click Run Checks.

Expected outcome: The row changes to “You are not publishing an auth.md.” or to Passed, depending on the switch.

If the site should not let agents sign in, there is nothing to fix. The row stays a Suggestion.

Issue: “You are not publishing an auth.md.”

Symptom: The row shows a Suggestion with a Fix It For Me button.

Cause: The Publish auth.md switch is off, so the file does not exist.

Fix:

  1. Click Fix It For Me on the row. Or go to SureRank → AI Ready → Agent Discovery, turn on Publish auth.md, and click Save.
  2. Wait for the message “auth.md turned on.”
  3. Click Run Checks.

Expected outcome: The row no longer shows this message. If nothing else is found, it shows Passed and reads “Your auth.md is being served.”

Issue: “Your auth.md is not reaching SureRank.”

Symptom: The row shows a Warning, even though the switch is on. The panel says SureRank is publishing the file, and gives one of these reasons:

  • The permalinks are set to Plain, so the server answers the address before WordPress sees it.
  • The address answers with an error. A security plugin or a server rule may be blocking it.

Cause: The server, or a security plugin, answers /auth.md before WordPress runs.

Fix:

  1. If the panel says the permalinks are Plain, first ask the developer or the host to check the redirects and to take a backup, because changing the permalink structure changes the address of every post and page, and old links can stop working. Then go to Settings → Permalinks, choose any other structure, and click Save Changes.
  2. Otherwise, check the settings of any security plugin and the rules of the server, and allow /auth.md.
  3. Open https://example.com/auth.md in a browser, with your own domain, to see what answers.
  4. Click Run Checks.

Expected outcome: The row no longer shows this message. If nothing else is found, it shows Passed.

Issue: “Something else is answering at /auth.md.”

Symptom: The row shows a Warning.

Cause: The address returns a page, or a file that is not the auth.md that SureRank writes. Another plugin, or a catch-all route in the theme, answers the address first.

Fix:

  1. Open https://example.com/auth.md in a browser, with your own domain. If you see a normal web page, something else is answering.
  2. Find the plugin or theme rule that answers every unknown address with a page, and turn it off or make an exception for /auth.md.
  3. Click Run Checks.

Expected outcome: The row no longer shows this message. If nothing else is found, it shows Passed.

Issue: The row is not shown

Symptom: The auth.md row is not in the list.

Cause: The site is installed in a subdirectory. auth.md counts only at the root of a domain, so SureRank does not test it there.

Fix: Publish the file at the root of the domain with whatever serves it.

Expected outcome: There is nothing to fix inside SureRank for a subdirectory site.

Still Not Resolved?

If the steps above do not help, contact the SureRank support team with the following details:

  • WordPress version
  • SureRank and SureRank Pro versions
  • The exact message on the row in AI Ready Checks
  • Whether the site uses HTTPS
  • What you see when you open https://example.com/auth.md in a browser. Replace example.com with your domain.

Notes

  • Application Passwords are issued by a user and can be revoked at any time. It is recommended to give an agent its own user account with the least access the task needs.
  • Some security plugins limit which users can create an Application Password, instead of turning them off for the whole site. The auth.md row checks only whether the site offers them, so the row can show Passed while the user of an agent still cannot create one. If an agent cannot sign in, check the settings of the security plugin for that user.
  • Unlike the other discovery files, auth.md is at the root of the site and not under /.well-known/.
  • Most rows in AI Ready Checks test a real request, so a cache can change the result. Clear the cache before running the checks again.

Related Docs

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
Table of Contents
Scroll to Top