Just noticed that when EE throws an Error it still returns a HTTP/1.1 200 OK
This is very bad for SEO. I was wondering if we can return a 404 or at least a 403 in cases where EE does not return a page. Even better would be the ability to display an arbitrary template.
I thought of writing an extension, but some of this checks are made in core.system.php and exits as soon as a problem is found. I am not sure how I would be able to write an extension to output the headers before the exit() call.
Thanks