Drupal Association members fund grants that make connections all over the world.
I have created a completely customised login / registration page in a template file called "page--login.tpl.php". This loads fine when I navigate to /login, however it is giving a 404 http response code and the title reads 'Page not found' (presumably because there is no node behind called 'login').
I have suppressed the error code and change the title through the use of drupal_set_title and drupal_add_http_header, however the page not found errors still show up in the Drupal message log.
Is there a way I can prevent Drupal from throwing a page not found error in this scenario?