Try to use this http://codex.wordpress.org/Function_Reference/get_post_status with a simple if statement inside of 404.php or single.php.
I don’t really know where it will work in that case, it’s just an idea.
Try to use this http://codex.wordpress.org/Function_Reference/get_post_status with a simple if statement inside of 404.php or single.php.
I don’t really know where it will work in that case, it’s just an idea.