---
title: "Discussion on \"Blocking by country on Cloudflare Workers (HTTP 451) without blocking search crawlers\" | Hashnode"
description: "Discussion on \"Blocking by country on Cloudflare Workers (HTTP 451) without blocking search crawlers\". How to return HTTP 451 where age-verification laws apply, using Cloudflare Workers, while verified search crawlers still see the page."
url: "https://hashnode.com/posts/blocking-by-country-on-cloudflare-workers-http-451-without-blocking-search-crawlers/6b07ac7f991c1700a8bc1606"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Blocking by country on Cloudflare Workers (HTTP 451) without blocking search crawlers](https://agechecklaws.hashnode.dev/blocking-by-country-on-cloudflare-workers-http-451-without-blocking-search-crawlers?utm_source=hashnode&utm_medium=feed)

How to return HTTP 451 where age-verification laws apply, using Cloudflare Workers, while verified search crawlers still see the page.

13h ago · 10 min read · agechecklaws.hashnode.dev  
Read the article

-   [#cloudflare](https://hashnode.com/tag/cloudflare)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#opensource](https://hashnode.com/tag/opensource)

## Written by

[Phil Bishop](https://hashnode.com/@pjbish)

@pjbish

  
[View profile](https://hashnode.com/@pjbish)

Building PornSleuth: open data on adult-site regulation, including an age-verification law tracker (CSV/JSON, CC BY) and scene search across major studios.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
