HTTP 401 Unauthorized

Authentication is required and has failed or has not been provided.

What 401 means

HTTP 401 Unauthorized means the request lacks valid authentication credentials. Despite the name, it's about authentication (who are you?), not authorisation (what can you do?). The server should include a WWW-Authenticate header indicating the required authentication scheme.

Common causes

How to fix it

SEO impact

Content behind authentication is not indexed. Ensure public pages don't require authentication.

Monitoring tip

LemWatch detects when public pages unexpectedly return 401, which could indicate a misconfigured authentication layer.