Skip to content

"Blocked due to unauthorized request (401)": what it means and how to fix it

The page needs a login, so Google can't read it.

A setting blocks it

By Bruno Amorim · ·

What it means

The server told Google 401 Unauthorized.

The fix, in short: Remove the login from pages that should be public. Take private pages out of your sitemap.

Which of your pages have this problem? Find out for free.

Get my free report

Common causes

  • The page is behind a login or password.
  • A password from building the site is still on.

How to fix it

  • If the page should be public, remove the login.
  • If the page is private, take it out of your sitemap.

When you can ignore it

The page is private on purpose.

If "Validate fix" failed

Validation fails here when Google still gets a login prompt. Open the pages in a private browser window, signed out, to see what Google sees. See what each validation result means.

How to find these pages

In Search Console, open Indexing > Pages and click the "Blocked due to unauthorized request (401)" row. Search Console shows up to 1,000 example pages. CrawlCoach checks up to 50,000 pages per site and sorts them by reason, so you know which pages to fix first.

Related guides

Sources

Which of your pages have this problem?

Get my free report

Free for up to 500 pages. No card needed. Sign in with the Google account you use for Search Console.

Related problems