Custom 404 Pro


IMPORTANT: Please open issues on Github. I will not be using the support area.

Allows users to replace the default 404 page with a custom page from the Pages section in the Admin Panel. Or you can specify a complete URL to redirect on 404.


  • Full 404 Page Control
  • Record 404 Page Data
  • Custom Page Redirect
  • Custom URL Redirect
  • Record Visitor Keywords that led to 404
  • Custom Log Filters
  • Clean code
  • Awesome support

How does it work?

  • WordPress Page: Choose a custom page from the Admin Panel
  • URL: Enter a custom URL for 404
  • Stats: List of all 404s


  • Activate the plugin from the WordPress Admin Panel
  • 404 Logs
  • Global Settings


Installation Instructions
  • Extract the downloaded ZIP file.
  • Copy the custom-404-pro folder to the wp-content/plugins directory.
  • Activate from the Plugins Section.


Works well

Exactly what i was looking for (404 redirect to another URL) and works well.

Google penalized me because of this plugin

This plugin made Google penalize me , my website no longer appears in google search at the moment.

The plugin was working smoothly until google sent me an email because of a page (c4p_log/log-130/) this plugin created .

Incorrect hreflang implementation on *my website**
Google has detected that some pages on your site have implemented the rel-alternate-hreflang tag incorrectly. In particular, there seems to be a problem with incorrect language and region codes, or incorrect bi-directional linking (if page A links with hreflang to page B, there must be a link back from B to A as well). Google uses the hreflang attributes to serve the correct language or regional URL to the right users in search results.

Until you correct the errors on the hreflang links, your website will not benefit from additional language or region targeting.

Excellent plugin – highly recommended!

I run a Woocommerce store at [link redacted] and I regularly drop products from the store, so it meant that I was getting a lot of 404’s that were going to a redundant ‘nothing found’ page. This plugin saved the day, and many lost visitors, so thanks for all of your help!

Creates massive logs in wp_postmeta, causing slow editing

This plugin does create working redirects for removed pages.

However, with logging turned on, as it is by default, it logs every 404 request to the wp_postmeta table. This can result over time on a busy site in a very large table, and since this table needs to be checked to load the ‘edit page’ interface, a wp_postmeta table that is full of logs can result in a very slow load for page editing.

Further, if the plugin is removed, the log entries are not removed. You need to remove them by finding the ‘clear logs’ button before deleting the plugin. I don’t think this is made obvious.

If you are dealing with a site that has used the plugin once, but where it is no longer installed, it is really hard to work out what plugin the c4p_log entries in the database relate to.

Furthermore if you do use the built-in ‘clear logs’ functionality, it will probably cause your site to run out of memory while it clears.

I really don’t think this plugin should be storing all its logs in wp_postmeta.

Read all 14 reviews

Contributors & Developers

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


Translate “Custom 404 Pro” into your language.

Interested in development?

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



  • Disale logging by default


  • Fixed Donate Links


  • Small bugfix while clearing logs


  • Better feedback while Clearing Logs
  • Added 404 Option to Log Type


  • Option to Clear Logs
  • Option to Stop Logging


  • Fixed github issue #3


  • Fixed some bugs


  • Redefined Log Filters with User Agent API


  • Added User Agent Filter


  • Changed entire plugin to a Custom Post Type Layout
  • More structure to the plugin, better code


  • Initial Release