404page – your smart custom 404 error page

Description

Create your custom 404 Page as a normal WordPress Page using the full power of WordPress. You can use a Custom Page Template or Custom Fields, you can set a Featured Image – everything like on every other Page. Then go to ‘Appearance’ -> ‘404 Error Page’ from your WordPress Dashbord and select the created Page as your 404 error page. That’s it!

Watch the video

Why you should choose this plugin

  • Different from other similar plugins the 404page plugin does not create redirects. That’s quite important because a correct code 404 is delivered which tells search engines that the page does not exist and has to be removed from the index. A redirect would result in a HTTP code 301 or 302 and the URL would remain in the search index.
  • Different from other similar plugins the 404page plugin does not create additional server requests.

More information

See Plugin Homepage and Plugin Doc.

Do you like the 404page Plugin?

Thanks, I appreciate that. You don’t need to make a donation. No money, no beer, no coffee. Please, just tell the world that you like what I’m doing! And that’s all.

Translations

The 404page Plugin uses GlotPress – the wordpress.org Translation System – for translations. Translations can be submitted at translate.wordpress.org.

Translation are highly appreciated. It would be great if you’d support the 404page Plugin by adding a new translation or keeping an existing one up to date. If you’re new to GlotPress take a look at the Translator Handbook.

More plugins from Peter

Compatibility

The 404page plugin was sucessfully tested by the author with the following themes

The 404page plugin was sucessfully tested by the author with the following starter themes

The 404page plugin was sucessfully tested by the author with the following plugins

For developers

Action Hook

The plugin adds an action hook 404page_after_404 which you can use to add extra functionality. The exact position the action occurs after an 404 error is detected depends on the Operating Method. Your function must not generate any output. There are no parameters.

Native Support

If you are a theme developer you can add native support for the 404page plugin to your theme for full control. Read more.

Screenshots

  • Create your 404 Page as a normal WordPress Page
  • Define the created Page as 404 Error Page
  • Your custom 404 Error Page is shown in case of a 404 error

Installation

From your WordPress dashboard

  1. Visit ‘Plugins’ -> ‘Add New’
  2. Search for ‘404page’
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.

Manually from wordpress.org

  1. Download 404page from wordpress.org and unzip the archive
  2. Upload the 404page folder to your /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.

FAQ

Are there any requirements?

To enable the WordPress 404 error handling you have to set the Permalink Structure (‘Settings’ -> ‘Permalinks’) to anything else but ‘Default’. Otherwise 404 errors are handled by the webserver and not by WordPress.

Are 404 errors redirected?

No, there is no redirection! The chosen page is delivered as a ‘real’ 404 error page. This results in a HTTP 404 code and not in 301 or 302, which is important for Search Engines to tell them, that the page does not exist and should be deleted from the index.

What about PHP Version 7?

The plugin works smoothly with PHP 7.

Is it possible to add custom CSS to the 404 page?

The 404page plugin adds a CSS class error404 to the <body> tag which can be used for extra styling.

Reviews

Great

Simple and easy to use. Great for my need.

Simple but very effective plugin!!

For some reason, after an update of both WP and my theme (Cyberchimps Responsive), the google-search function was disappeared from the standard 404-page! Also the SEOplugin from famous Yoast was updated, so I had no clue which one of them was the cause of this disappearing… 🙁

Since I am not able to write .php-thingies, I just looked for an easy way out.
And that is just this briljant plugin!
I now can use a page of my own website, which I can edit just as I want it!

BRAVO!!!

Read all 67 reviews

Contributors & Developers

“404page – your smart custom 404 error page” is open source software. The following people have contributed to this plugin.

Contributors

“404page – your smart custom 404 error page” has been translated into these 4 locales: French, German, Albanian, Galician. Thank you to the translators for their contributions.

Translate “404page – your smart custom 404 error page” into your language.

Interested in development?

Browse the code or subscribe to the development log by RSS.

Changelog

2.4 (2017-03-08)

  • ensure that all core files are loaded properly (See Topic)
  • Polylang plugin does no longer require Compatibility Mode (See Topic)
  • hide all translations if WPML is installed and “Hide 404 page” is active (thanks to the WPML guys for pointing me at this)
  • post status fix (See topic)
  • Enfold theme issue fix (thanks to the guys at Kriesi.at for supporting me)

2.3 (2016-11-21)

  • a few minor bug fixes solve some problems with page templates in certain combinations

2.2 (2016-09-26)

  • automatic switch to Compatibility Mode for several plugins removed
  • enhanced support for WPML and Polylang
  • remove the 404 page from search results (for all languages if WPML or Polylang is used)
  • remove the 404 page from sitemap or other page lists (for all languages if WPML or Polylang is used)
  • bugfix for author archives
  • confusing admin message removed

2.1 (2016-04-22)

  • introduction of selectable Operating Methods
  • several changes to Compatibility Mode for improved WPML and bbPress compatibility plus compatibility with Page Builder by SiteOrigin
  • Polylang compatibility
  • automatic switch to Compatibility Mode if WPML, bbPress, Polylang or Page Builder by SiteOrigin is detected
  • completely new Customizr Compatibility Mode (automatically enabled if Customizr is detected)
  • firing an 404 error in case of directly accessing the 404 error page can now be deactivated
  • WP Super Cache support
  • option to hide the 404 error page from the Pages list
  • 404 error test
  • plugin expandable by action
  • delete all settings on uninstall

2.0 (2016-03-08)

  • WPML compatibility
  • bbPress compatibility
  • Customizr compatibility
  • directly accessing the 404 error page now throws an 404 error
  • class error404 added to the classes that are assigned to the body HTML element
  • the settings menu was moved from ‘Settings’ to ‘Appearance’
  • translation files removed, using GlotPress exclusively
  • Read more

1.4 (2015-08-07)

  • edit the 404 page directly from settings page
  • Portuguese translation

1.3 (2015-01-12)

  • technical improvement (rewritten as class)
  • cosmetics

1.2 (2014-07-28)

  • Spanish translation
  • Serbo-Croatian translation

1.1 (2014-06-03)

  • Multilingual support added
  • German translation

1.0 (2013-09-30)

  • Initial Release