Page Rule to respond with specific HTTP response code


It would be extremely useful to be able to respond to a request for a certain URL with an HTTP 410 (Gone) code.

The use case here would be when certain urls that no longer exist on the origin server need to be removed from crawlers like googlebot etc.

An HTTP 410 response rule would be brilliant. A generic HTTP response code would be awesome too.



We have the same problem with ‘410 gone’ status.

Has Cloudflare a solution for this?