A while ago, our creative director asked me to implement a custom 404 page on our corporate website. We were tired of the generic drupal 404 page and wanted to give it our own “cheeky” touch.
Of course with drupal, there are a few different ways to accomplish this. So I decided to use a custom preprocessor and PHP template for our application.
Basically, what we are going to do is create a new PHP template called page--404.tpl.php and modify the code to suit our needs. But before we can get started, we first need to tell drupal about this new template.