Hi there, just a quick question: what do I need to put in the field to make a 410 HTTP header? This pretty new "Custom Headers" feature is not documented anywhere as far as I can see.
I've tried the following, but with no luck. All I get it a 500 internal server error.
- header("HTTP/1.0 410 Gone");
- HTTP/1.0 410 Gone
- 410
Some background information: We want unpublished resources that were published before to get a 410 header instead of a 404, because I guess it's better, also according to Yoast.com (
https://yoast.com/deleting-pages-from-your-site/). I guess this custom header function is the simpelest way to have our content-editors set the HTTP-header per resource.