Andrew Ferguson dot NET

Dunstan-style Error Page

Overview

This is another plugin that I used on my old site and now I’m modifying it to make it WP friendly. It’s basically the same 404 error page that Dunstan Orchard uses on his 1976design.com/blog site. Install the file to your plugins directory, activate, configure, and enjoy!

Compatibility

WordPress Versions:

  • 2.1
  • 2.0
  • 1.5
  • In theory, it should work with 1.2.*, but it has not been tested.

Installation

  1. Downloaded the latest version of the plugin (below)
  2. Rename the downloaded file to afdn_error_page.php
  3. Upload to your plugins directory (typically /wp-content/plugins/)
  4. Activate the plugin
  5. Configure the plugin under Options > Error Page in the administration panel
  6. Find the 404.php file for the theme you are using, usually located at /wp-content/themes/*YOUR_THEME_NAME*/404.php
  7. Delete everything in the 404.php file and replace it with:
          <?php afdn_error_page(); ?>
    
  8. Enjoy!

Download

Latest version:

  • Error Page v1.3.1

Changelog
1.3.1
….

1.3
….

1.2

Got all the Akismetfeatures working. While the plugin will work without an API Key, you really should get one. All comments that are tagged as spam by Akismet are placed into an array in the WPDB. You can manage it from the regular Error Page management window. I used the Akismet Comment Spam plugin as a basis for a lot of the UI, so things should be pretty familiar.

4-22-2006 – dev.wp-plugins.org/browser/dunstan-error-page/tags/1.2/
1.1

Layed the foundation for Akismet spam testing. If you have a valid API key, detailed error reports will be checked against for spam. YOU DO NOT NEED AN API KEY FOR THE PLUGIN TO WORK. My name was also hardcoded in one last place, so I took care of that. There was an issue with checking the referer that would return a false negative if the actual URL wasn’t preceded with WWW, so that’s fixed. I also coded some things in a rather crappy way, so I cleaned that up. Most of the plugin is now commented, so that should help anyone try to figure out what the heck I was thinking.

4-22-2006 – dev.wp-plugins.org/browser/dunstan-error-page/tags/1.1/
0.82

Thanks to Ozh for the heads up on some hardcoded text that should have been dynamic and for suggesting securing the email form.

12-29-2005 – dev.wp-plugins.org/browser/dunstan-error-page/tags/0.82/
0.8

NOTICE: Copyright format changed from MIT to GNU GPL as of version 0.8

Embeded error page code into plugin file….if that makes sense.

12-28-2005 – dev.wp-plugins.org/browser/dunstan-error-page/tags/0.8/
0.7

Added functionality for redirected error pages.

8-25-2005 – dev.wp-plugins.org/browser/dunstan-error-page/tags/0.7/
0.5

Inital public release

6-24-2005 – dev.wp-plugins.org/browser/dunstan-error-page/tags/0.5/

  • 178 Replies
  • 80 Comments
  • 0 Tweets
  • 0 Facebook
  • 98 Pingbacks
Last reply was 1 month ago
  1. WordPress Error 404 Pages: Essential Tips And Tools | Templaget Get
    View June 30, 2011

    [...] Dunstan-style Error Page This plugin can be used to create a custom error page similar to the one used on Dunstan Orchard’s1976design.com/blog. The custom page it creates is immensely useful to users, displaying the last five blog posts, a search box, and the option to report the error, among other options. [...]

    Reply
  2. WordPress Error 404 Pages: Essential Tips and Tools | WebDino.net
    View August 27, 2011

    [...] Dunstan-style Error Page This plugin can be used to create a custom error page similar to the one used on Dunstan Orchard’s 1976design.com/blog. The custom page it creates is immensely useful to users, displaying the last five blog posts, a search box, and the option to report the error, among other options. [...]

    Reply
  3. Plugin Untuk Mengatasi Error 404 Not Found « Andi Firmansyah
    View 1 month ago

    [...] 8. Dunstan-style Error Page [...]

    Reply
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.