I've stumbled upon a strange redirect problem on posts which are deleted and hanging in trash status. As I try to access respective post by example via http://blog.xy?p=1234 I can see in my firebug networkcontroller, that the server response is a 301 redirect to the same page hundred multiple times. After several seconds I receive a redirect error message in my browser saying "the requested website redirects your request in a way it can never been finished". Any idea in which file I can set an redirect to 404.php for posts which are in trash status?
Thanks for any answer.