This project is not covered by Drupal’s security advisory policy.

Are your views returning a 200 when it should return a 404? Views404 is the answer! This is very helpful for any caching layer and it will help SEO.

Do I Really Need This?

In short yes, you do.
Live Example
http://drupal.org/project/modules
http://drupal.org/project/modules/google.com <- This should return a 404; 200 given. Duplicate content penalty!

Another example from http://drupal.org/node/392106 below
View located at: example.com/articles
Page located at: example.com/articles/my-page

Let say you accidentally link to: example.com/articles/mypage
Drupal sends a "200 OK" header and the content from example.com/articles instead of sending a "404 Page Not Found".
Another example is example.com/articles/google.com will return a "200 OK".

Future

Open to ideas! Please let me know when the logic fails; I will adjust it accordingly.

Note:

Standard Drupal behavior is to pass all arguments through, whether or not they requested. Sometimes this behavior is desired. The views 404 module assumes that by default you do not want arguments passed through. 404s for views can also be accomplished by setting the Global: Null under Arguments.

Project information

Releases