Title: Smart Custom 404 Error Page
Author: NerdPress
Published: <strong>30 de septiembre de 2013</strong>
Last modified: 16 de julio de 2025

---

Buscar plugins

![](https://ps.w.org/404page/assets/banner-772x250.png?rev=3345344)

![](https://ps.w.org/404page/assets/icon-256x256.png?rev=3345344)

# Smart Custom 404 Error Page

 Por [NerdPress](https://profiles.wordpress.org/nerdpressteam/)

[Descargar](https://downloads.wordpress.org/plugin/404page.11.4.8.zip)

 * [Detalles](https://es.wordpress.org/plugins/404page/#description)
 * [Valoraciones](https://es.wordpress.org/plugins/404page/#reviews)
 * [Desarrollo](https://es.wordpress.org/plugins/404page/#developers)

 [Soporte](https://wordpress.org/support/plugin/404page/)

## Descripción

Atraer visitantes a tu sitio web requiere tiempo y esfuerzo. Cada visitante es importante.
La página de error 404 por defecto de la mayoría de los temas no proporciona ninguna
información sobre lo que se puede encontrar en tu sitio. Un visitante primerizo,
que no te conoce, se encuentra en un callejón sin salida y abandona tu sitio web.¡
Configura una útil página de error 404 personalizada para mantenerlos en tu sitio!

Este práctico plugin te permite crear fácilmente tu propia página de error 404 sin
ningún esfuerzo y funciona con casi todos los temas.

### ¡Fuera de la jubilación!

NerdPress has adopted Smart Custom 404 Page! [Read the announcement here.](https://www.nerdpress.net/announcing-404-page/)

Hemos sido fans de este plugin durante muchos años, y estamos agradecidos por los
muchos años de servicio de Peter a la comunidad. Peter se retiró del desarrollo 
de plugins en octubre de 2023, así que nos hemos puesto manos a la obra para ayudar
a garantizar que este plugin siga funcionando bien ahora y en el futuro.

### Uso

Crea tu página de error 404 personalizada como cualquier otra página utilizando 
el editor de WordPress (`Páginas > Añadir nueva`). Luego ve a `Apariencia > Página
de error 404` y selecciona la página creada como tu página de error 404 personalizada.¡
Ya está!

### ¿Por qué utilizar este plugin?

A diferencia de otros plugins similares, el plugin 404page **no crea redirecciones**.
Eso es **bastante importante** porque se entrega un código 404 correcto que indica
a los motores de búsqueda que la página no existe y debe ser eliminada del índice.

Además, el plugin 404page **no crea peticiones adicionales al servidor**.

### Requisitos

El único requisito para este plugin es que cambies la estructura de enlaces permanentes
en `Ajustes > Enlaces permanentes` a cualquier otra cosa que no sea «Simple». Esto
también activa la gestión de errores 404 de WordPress.

### Bloque y shortcode

#### Bloque

The Plugin offers a block «URL causing 404 error» for the block-based editor to 
show the URL that caused the error. The block offers three display options:

 * «Page» to show the page including path ( e.g. `does/not/exist` )
 * «Domain Path» to show the URL without protocol and parameters ( e.g. `example.
   com/does/not/exist` )
 * «Full» to show the complete URL ( e.g. `https://example.com/does/not/exist?p=
   1` )

#### Shortcode

The Plugin offers a shortcode «pp_404_url» for the classic editor to show the URL
that caused the error. There are three possible options:

 * **`[pp_404_url page]`** to show the page including path ( e.g. `does/not/exist`)
 * **`[pp_404_url domainpath]`** to show the URL without protocol and parameters(
   e.g. `example.com/does/not/exist` )
 * **`[pp_404_url]`** or **`[pp_404_url full]`** to show the complete URL ( e.g.`
   https://example.com/does/not/exist?p=1` )

### Información sobre la privacidad del plugin

 * Este plugin no establece cookies
 * Este plugin no recoge ni almacena ningún dato
 * Este plugin no envía ningún dato a servidores externos

### Para desarrolladores

#### Gancho de acción

El plugin añade un gancho de acción `404page_after_404` que puedes utilizar para
añadir funcionalidad extra. La posición exacta en la que se produce la acción tras
detectar un error 404 depende del método operativo. Tu función no debe generar ninguna
salida. No tiene parámetros.

#### Constante

Si el plugin 404page está instalado y activado, define la constante PHP `PP_404`.
Comprueba su existencia para detectar el plugin 404page.

#### Funciones

El plugin proporciona las siguientes funciones:

 * **`pp_404_is_active()`** to check if there is a custom 404 page selected and 
   the selected page exists
 * **`pp_404_get_page_id()`** para obtener el ID de la página 404
 * **`pp_404_get_all_page_ids()`** para obtener un array de identificadores de página
   en todos los idiomas
 * **`pp_404_get_the_url( $type )`** para obtener la URL que causó el error 404
    - Parameter $type string Optional
    - «page» to get the page including path ( e.g. `does/not/exist` )
    - «domainpath» to get the URL without protocol and parameters ( e.g. `example.
      com/does/not/exist` )
    - «full» (default) to get the complete URL ( e.g. `https://example.com/does/
      not/exist?p=1` )

#### Modo nativo

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

## Bloques

Este plugin proporciona 1 bloque.

 *   URL causing 404 error

## Reseñas

![](https://secure.gravatar.com/avatar/f718cef9735ef93435481b23cf4cd6b92d1d4a65eaec72c73827e2a1344b24f4?
s=60&d=retro&r=g)

### 󠀁[Great 🙂](https://wordpress.org/support/topic/great-17098/)󠁿

 [meeresschutz](https://profiles.wordpress.org/meeresschutz/) 12 de abril de 2026

Does the job just fine, simple and easy.

![](https://secure.gravatar.com/avatar/894c5dbfdb56f6ed18c33b79e028a791cbd5d45448fff583d87ebbcde6032258?
s=60&d=retro&r=g)

### 󠀁[mooolt bo](https://wordpress.org/support/topic/mooolt-bo/)󠁿

 [deadko](https://profiles.wordpress.org/deadko/) 5 de marzo de 2026

molt útil, abans tenia perduda la pagina

![](https://secure.gravatar.com/avatar/965d31300afc6a2a298767c962cf3152f20a748403508ad58877ef778ff17cab?
s=60&d=retro&r=g)

### 󠀁[Indispensabile ed Ottimo plugin](https://wordpress.org/support/topic/indispensabile-ed-ottimo-plugin-2/)󠁿

 [bigportal](https://profiles.wordpress.org/bigportal/) 17 de diciembre de 2025

Semplice e funzionale

![](https://secure.gravatar.com/avatar/f3b7bc9f4d6e747c5db925f48f6e50163485da773b00b2aacc1486ac9ee962f3?
s=60&d=retro&r=g)

### 󠀁[Great plugin!](https://wordpress.org/support/topic/great-plugin-40808/)󠁿

 [Veru](https://profiles.wordpress.org/beautysveru/) 2 de septiembre de 2025

I am satisfied with the plugin.

![](https://secure.gravatar.com/avatar/b94e2b2546b8ceb0637a68a2ea522c1dcd9ff376bd944a1c3e186263223466f6?
s=60&d=retro&r=g)

### 󠀁[Gorgeous](https://wordpress.org/support/topic/gorgeous-36/)󠁿

 [panon](https://profiles.wordpress.org/panon/) 19 de agosto de 2025

Awesome. It works like a charm.

![](https://secure.gravatar.com/avatar/3bd1fb5e8479a7afd7ca4dd3b4b95abd7308abc469c7b429a6172fa868214ff4?
s=60&d=retro&r=g)

### 󠀁[Top pour gérer ses 404](https://wordpress.org/support/topic/top-pour-gerer-ses-404/)󠁿

 [urbangames](https://profiles.wordpress.org/urbangames/) 15 de junio de 2025 1 
respuesta

J’en ai profité pour créer une page humoriste pour les visiteurs non sollicités :

 [ Leer todas las 1.195 reseñas ](https://wordpress.org/support/plugin/404page/reviews/)

## Colaboradores y desarrolladores

«Smart Custom 404 Error Page» es un software de código abierto. Las siguientes personas
han colaborado con este plugin.

Colaboradores

 *   [ NerdPress ](https://profiles.wordpress.org/nerdpressteam/)
 *   [ Peter Raschendorfer ](https://profiles.wordpress.org/petersplugins/)
 *   [ Jon Christopher ](https://profiles.wordpress.org/jchristopher/)

«Smart Custom 404 Error Page» está traducido en 20 idiomas. Gracias a [los traductores](https://translate.wordpress.org/projects/wp-plugins/404page/contributors)
por sus contribuciones.

[Traduce «Smart Custom 404 Error Page» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/404page)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/404page/) , echa un
vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/404page/) o suscríbete
al [registro de desarrollo](https://plugins.trac.wordpress.org/log/404page/) por
[RSS](https://plugins.trac.wordpress.org/log/404page/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

#### 11.4.8 (2024-10-02)

 * Address potential XSS vulnerability. Thanks to Webbernaut for responsible disclosure.

#### 11.4.7 (2024-09-16) OUT OF RETIREMENT!

 * NerdPress has adopted Smart Custom 404 Page! [Read the announcement here.](https://www.nerdpress.net/announcing-404-page/)
 * Tested up to WP 6.6
 * Modernized direct file access protection and removed closing PHP tags

#### 11.4.6 (2024-04-17) URGENT BUGFIX

 * Bugfix after Cleanup

#### 11.4.5 (2024-04-16) CLEANUP

 * Cleanup

#### 11.4.4 (2022-10-05) FINAL VERSION

 * removed all links to webiste
 * removed request for rating
 * removed manual

#### 11.4.3 (2022-11-05)

 * bugfix for WP 6.1

#### 11.4.2 (2022-11-01)

 * also add class error404 to body tag if page is called directly
 * plugin renamed

#### 11.4.1 (2022-10-16)

 * bugfix: load Javascript for Block only when needed

#### 11.4.0 (2022-10-13)

 * Block added
 * Shortcode added
 * Function pp_404_get_the_url() added

#### 11.3.1 (2022-04-05)

 * just cosmetics
 * Plugin Foundation updated to PPF08

#### 11.3.0 (2021-01-06)

 * new option to always send an 410 instead of an 404
 * Plugin Foundation updated to PPF07

#### 11.2.6 (2020-08-23)

 * Plugin Foundation updated to PPF06

#### 11.2.5 (2020-08-22)

 * minor UI adjustments

#### 11.2.4 (2020-08-16)

 * bug fix for Flamingo ([see topic](https://wordpress.org/support/topic/error-page-trashed/))
   plus potentially other plugins (thanks to [garfiedo](https://wordpress.org/support/users/garfiedo/)
   for supporting me to find the reason)

#### 11.2.3 (2020-07-05)

 * fix for Polylang ([see topic](https://wordpress.org/support/topic/undefined-function-pll_get_post/))

#### 11.2.2 (2020-03-28)

 * changes to the notification for hopefully better compatibility
 * Plugin Foundation swtiched to PPF04

#### 11.2.1 (2020-01-04)

 * if W3 Total Cache is installed and caching is active URLs that result in an 404
   error are automatically excluded from caching

#### 11.2.0 (2020-01-01)

 * if WP Super Cache is installed and caching is active URLs that result in an 404
   error are automatically excluded from caching

#### 11.1.4 (2019-12-29)

 * urgent bug fix for PPF03

#### 11.1.3 (2019-12-29)

 * Plugin Foundation updated to PPF03, no functional changes

#### 11.1.2 (2019-11-19)

 * exclude 404 page from XML sitemap generated by Jetpack

#### 11.1.1 (2019-11-16)

 * from now on it is not only detected if Yoast SEO Plugin is active, but also if
   the sitemap feature is activated

#### 11.1.0 (2019-11-10)

 * now uses Plugin Foundation PPF02 for plugin compatibility
 * introduces two new functions for developers pp_404_get_page_id() and pp_404_get_all_page_ids()

#### 11.0.5 (2019-10-22)

 * bugfix for Yoast SEO XML Sitemap ([see topic](https://wordpress.org/support/topic/small-bug-with-wpseo_exclude_from_sitemap_by_post_ids/))
 * added a note to settings page if Yoast SEO is active

#### 11.0.4 (2019-10-06)

 * bugfix for WPML

#### 11.0.3 (2019-09-01)

 * bugfix for REST API call (see [here](https://wordpress.org/support/topic/bug-woocommerce-rest-api-500-error/))

#### 11.0.2 (2019-08-30)

 * two bugs fixed (see [here](https://wordpress.org/support/topic/version-11-0-1-error-in-log-file/)
   and [here](https://wordpress.org/support/topic/cant-activate-compatibility-mode/))

#### 11.0.1 (2019-08-13)

 * fix for PHP 7.1 – __construct() access level in subclass – this is an PHP error
   that was fixed in PHP 7.2, but I’ve changed my code to also work with PHP 7.1

#### 11.0.0 (2019-08-13)

 * mostly rewritten based on my own newly created Plugin Foundation

#### 10.5 (2019-04-01)

 * some more security improvements

#### 10.4 (2019-03-31)

 * security vulnerability in AJAX call fixed (thanks to [Julio Potier](https://secupress.me/)
   for pointing me to this)

#### 10.3 (2019-02-21)

 * fix for compatibility with iThemes Sync ([ticket](https://wordpress.org/support/topic/ithemes-sync-issue/))

#### 10.2 (2019-02-19)

 * just another small change to prevent from potential problems with version 10

#### 10.1 (2019-02-14)

 * error fixed ([ticket](https://wordpress.org/support/topic/version-10-crashes-system/))

#### 10 (2019-02-14)

 * workaround for WordPress Permalink bug [#46000](https://core.trac.wordpress.org/ticket/46000)
 * code improvement
 * performance tuning

#### 9 (2019-01-24)

 * Gutenberg note added

#### 8 (2019-01-11)

 * fixed compatibility issue with latest WPML version
 * code improvement
 * UI improvements

#### 7 (2018-07-16)

 * corrected wrong image path
 * added video links to admin page
 * code improvements

#### 6 (2018-06-18)

 * exclude 404 page from XML sitemap generated by Yoast SEO
 * further UI-improvements

#### 5 (2018-03-05)

 * show an indicator if the currently edited page is a 404 error page
 * minor code- & UI-improvements

#### 4 (2018-03-05)

 * bugfix for bbPress ([see topic](https://wordpress.org/support/topic/not-fully-bbpress-compatible/))

#### 3.3 (2017-11-16)

 * support for right-to-left-languages added
 * faulty display in WP 4.9 fixed

#### 3.2 (2017-10-05)

 * new feature to send an HTTP 410 error for deleted objects

#### 3.1 (2017-07-24)

 * bugfix for Polylang ([see topic](https://wordpress.org/support/topic/3-0-breaks-polylang-support/))
 * bugfix for CLI ([see topic](https://wordpress.org/support/topic/uninstall-php-from-cli-failed/))
 * add debug class to body tag
 * also add body classes for Customizr theme
 * do not add error404 class if already exists
 * further redesign admin interface

#### 3.0 (2017-07-05)

 * new feature to force 404 error after loading page
 * new feature to disable URL autocorrection guessing
 * finally removed Polylang stuff disabled in 2.4
 * redesigned admin interface
 * code improvement

#### 2.5 (2017-05-19)

 * hide 404 page from search results on front end (if WPML is active, all languages
   are hidden)
 * do not fire a 404 in Compatibility Mode if the [DW Question & Answer plugin by DesignWall](https://www.designwall.com/wordpress/plugins/dw-question-answer/)
   is active and a question has no answers

#### 2.4 (2017-03-08)

 * ensure that all core files are loaded properly ([see topic](https://wordpress.org/support/topic/had-to-deactivate-404page-to-make-wordpress-correctly))
 * Polylang plugin does no longer require Compatibility Mode ([see topic](https://wordpress.org/support/topic/still-displaying-the-themes-404-page-with-polylang/))
 * hide all translations if WPML is installed and «Hide 404 page» is active (thanks
   to the [WPML](https://wpml.org/) guys for pointing me at this)
 * post status fix ([see topic](https://wordpress.org/support/topic/doesnt-work-with-custom-post-status/))
 * [Enfold theme](https://themeforest.net/item/enfold-responsive-multipurpose-theme/4519990?ref=petersplugins)
   issue fix (thanks to the guys at [Kriesi.at](http://www.kriesi.at/) for supporting
   me)

#### 2.3 (2016-11-21)

 * a few minor bugfixes 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

#### 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

## Meta

 *  Versión **11.4.8**
 *  Última actualización **hace 10 meses**
 *  Instalaciones activas **100.000+**
 *  Versión de WordPress ** 4.0 o superior **
 *  Probado hasta **6.8.5**
 *  Versión de PHP ** 5.4 o superior **
 *  Idiomas
 * [Albanian](https://sq.wordpress.org/plugins/404page/), [Chinese (China)](https://cn.wordpress.org/plugins/404page/),
   [Chinese (Taiwan)](https://tw.wordpress.org/plugins/404page/), [Danish](https://da.wordpress.org/plugins/404page/),
   [Dutch](https://nl.wordpress.org/plugins/404page/), [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/404page/),
   [English (Australia)](https://en-au.wordpress.org/plugins/404page/), [English (Canada)](https://en-ca.wordpress.org/plugins/404page/),
   [English (New Zealand)](https://en-nz.wordpress.org/plugins/404page/), [English (US)](https://wordpress.org/plugins/404page/),
   [French (France)](https://fr.wordpress.org/plugins/404page/), [Galician](https://gl.wordpress.org/plugins/404page/),
   [German](https://de.wordpress.org/plugins/404page/), [Italian](https://it.wordpress.org/plugins/404page/),
   [Korean](https://ko.wordpress.org/plugins/404page/), [Russian](https://ru.wordpress.org/plugins/404page/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/404page/), [Spanish (Colombia)](https://es-co.wordpress.org/plugins/404page/),
   [Spanish (Ecuador)](https://es-ec.wordpress.org/plugins/404page/), [Spanish (Spain)](https://es.wordpress.org/plugins/404page/)
   y [Spanish (Venezuela)](https://ve.wordpress.org/plugins/404page/).
 *  [Traducir a tu idioma](https://translate.wordpress.org/projects/wp-plugins/404page)
 * Etiquetas:
 * [404](https://es.wordpress.org/plugins/tags/404/)[404 error](https://es.wordpress.org/plugins/tags/404-error/)
   [404 page](https://es.wordpress.org/plugins/tags/404-page/)[custom 404](https://es.wordpress.org/plugins/tags/custom-404/)
   [not found](https://es.wordpress.org/plugins/tags/not-found/)
 *  [Vista avanzada](https://es.wordpress.org/plugins/404page/advanced/)

## Valoraciones

 4.9 de 5 estrellas.

 *  [  1.159 valoraciones de 5 estrellas     ](https://wordpress.org/support/plugin/404page/reviews/?filter=5)
 *  [  8 valoraciones de 4 estrellas     ](https://wordpress.org/support/plugin/404page/reviews/?filter=4)
 *  [  8 valoraciones de 3 estrellas     ](https://wordpress.org/support/plugin/404page/reviews/?filter=3)
 *  [  3 valoraciones de 2 estrellas     ](https://wordpress.org/support/plugin/404page/reviews/?filter=2)
 *  [  17 valoraciones de 1 estrellas     ](https://wordpress.org/support/plugin/404page/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/404page/reviews/#new-post)

[Ver todas las valoraciones](https://wordpress.org/support/plugin/404page/reviews/)

## Colaboradores

 *   [ NerdPress ](https://profiles.wordpress.org/nerdpressteam/)
 *   [ Peter Raschendorfer ](https://profiles.wordpress.org/petersplugins/)
 *   [ Jon Christopher ](https://profiles.wordpress.org/jchristopher/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/404page/)