404 Error Logger

Description

Logs 404 (Page Not Found) errors on your WordPress site. This can be useful for tracking down broken links or missing content. You can optionally record additional information such as IP addresses, user agents and referrers.

IMPORTANT: This plugin will not work if you use a caching/performance plugin that caches 404 responses. Please check that this isn’t the case before reporting a bug.

If you come across any bugs or have suggestions, please use the plugin support forums.

FAQ

Will this plugin work if a caching/performance plugin is active ?

The plugin has been tested with the following caching plugins, and should work even if they are active:

  • W3 Total Cache
  • WP Super Cache
  • Hyper Cache (you must configure it not to cache 404 pages)

I have not tested it with other caching plugins, and there is a high chance that it will not work with many of them. Most of them will cache the response so that it cannot be logged.

Reviews

Surprisingly good

sidonaldson

Does what it says on the tin and does it well. I use Yoast Pro so didn't want this to manage my redirections but just log the errors etc. Very happy with it

Read all 11 reviews

Changelog

1.0.4

  • Fix warning when DONOTCACHEPAGE has already been defined.

1.0.3

  • Fix ‘headers already sent’ warning when deleting all messages.
  • Compatible with WP 4.6.

1.0.2

  • Fix deletion of old log entries.

1.0.1

  • Added Hyper Cache to tested cache plugins.

1.0

  • Added a dashboard widget to show latest 404 errors
  • Minor compatibility tweaks for WP 4.3

0.4

  • Add option to delete all log entries.
  • Link IPs to DuckDuckGo’s !whois query

0.3

  • Fix the database table to accommodate a large number of entries.
  • Allow exporting of data to CSV.

0.2.1

  • Add CSRF validation to settings page, and use built-in database methods where possible.

0.2

  • Added options to ignore visits from bots, and visits without referrers. Props Eric Nagel.

0.1.3

  • Add support for popular caching plugins.

0.1.2

  • Fix Javascript in log viewer
  • Remove some redundant code

0.1.1

  • Bugfix: old entries were not properly deleted

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Contributors

Browse the code