I have a problem whereby my 404.php file is not working at all.

I have WordPress currently installed in it's own directory, i.e. http://www.domain.com/wordpress

If you visit for example http://www.domain.com/wordpress/blablabla (which does not exist), I get met with html output, as in the actual source code of the homepage of the blog.

I have tried modifying my .htaccess file with things like ErrorDocument 404 /index.php?error=404 and scoured the Internet for solutions but with little luck.

link|improve this question
Just visited your site and am getting a 404. – anu May 4 '11 at 8:32
@anu: I assume domain.com is just an example domain name, not his actual site address? – Jan Fabry May 4 '11 at 10:19
If you user Pretty permalinks, WordPress handles the 404, not Apache. Have you tried disabling all plugins and using the Twenty Ten theme, to see whether you still have this problem? It could be that a plugin is trying to help you and show something instead of the 404's. – Jan Fabry May 4 '11 at 10:25
@jan - d'oh - i'm having a stupid day, obviously! – anu May 4 '11 at 12:05
@JanFabry Write an answer. Please! :) – toscho May 2 at 21:07
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.