that K2 404 Page

published on February 11, 2009 » filed under Meta Comment, Tech, WordPress

I don’t like the K2 404 page. You’ll only see this when the author (that’s me in this case) makes a fatal mistake or the hosting server has hiccups… but the basic ‘file not found’ page that ships with Wordpress’ most popular theme is awful. The problem is it doesn’t look like a warning page. It offers no additional options, simply points users in the right direction, basically says- “pff, work it out”.

What was not obvious to me was how to override this mess of a information page. How to do it? PHP includes? some form of redirect or did it involve .htaccess

No. To override the default K2 404, which is automatically generated from theloop.php all you need do is place an a file in your wordpress directory called 404.php

Wonderful. What do you think: metacomment.com/blog/404.php

I know there’s a magic plugin out there called ‘recommended posts’, I’d love to tie this in with the 404 page (using the faulty address as a starting point), to give suggestions. Maybe even implement live-search, perhaps a quick email to the blog’s author. Subject: Another 404

0 Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

© Callum Alden
design by callum