HTTP 451 · 4XX RFC 7725 §3 Cacheable: Yes (by default) Retryable: No

HTTP 451 Unavailable For Legal Reasons: Root Causes & Production Fix Guide

HTTP 451 Unavailable For Legal Reasons indicates a resource is blocked due to a legal demand, court order, DMCA takedown, or regional regulatory restriction (such as GDPR/sanctions geo-blocking).

Top Root Causes of HTTP 451

Cloudflare Worker / Nginx 451 Response with Link Header

location /restricted-content {
    add_header Link "<https://example.com/legal-notice>; rel="blocked-by"" always;
    return 451 "Unavailable for legal reasons in your region.";
}

Verify with cURL

curl -i -sS https://example.com/restricted-content

Interactive Stack Diagnoser (HTTP 451)

Frequently Asked Questions

What Link header should be included with HTTP 451?

RFC 7725 recommends `Link: <URL>; rel="blocked-by"` identifying the entity implementing the block.

How does Google Search handle HTTP 451?

Google treats 451 similarly to 404/410 and removes the blocked URL from search results in affected regions.

Should I use 403 or 451 for regional legal blocks?

Use 451 when the restriction is specifically due to legal or regulatory requirements; use 403 for general authorization or WAF blocks.

Related Status Guides & Header Tools