404 Error Logger


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.


  1. Upload the plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. The plugin settings can be accessed via the ‘Tools’ menu in the administration area, under ‘404 Error Logger’


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.



very clean. I would update the code with /* works with 4.9.4 */. Then put that updated version of the plugin here

Surprisingly good

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

Needed Plugin

I used this plugin to help track the problem of 404 alert page that kept appearing in the header area of all my WordPress site pages, including in the Admin area.

The part that helped was the IP address that was requesting pages that did not exist and a couple times a hacker did that leaving his IP address.

Well, because this WordPress site is designed for a local business, a person from Russia or China has no value as a visitor to the site so he got blocked and this helped reduce the incessant 404 displays. It did not resolve the issue, it helped and any help against hackers is priceless. 5 Stars 🙂

Read all 15 reviews

Contributors & Developers

“404 Error Logger” is open source software. The following people have contributed to this plugin.


Translate “404 Error Logger” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Fix warning when DONOTCACHEPAGE has already been defined.


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


  • Fix deletion of old log entries.


  • Added Hyper Cache to tested cache plugins.


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


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


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


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


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


  • Add support for popular caching plugins.


  • Fix Javascript in log viewer
  • Remove some redundant code


  • Bugfix: old entries were not properly deleted