Descripción
Redirect 404 error pages to your homepage with configurable options. Improve user experience and SEO with flexible redirect rules.
The «Simple Redirect 404 to Homepage» plugin helps improve your site’s usability and search engine optimization by redirecting users who encounter 404 errors to your homepage. This ensures visitors remain engaged with your site instead of leaving due to missing pages.
Key Features:
– Automatically redirects all 404 error pages to the homepage
– Multiple redirect types: 301, 302, 303, and 307 status codes
– Exclude specific URL patterns from redirection
– Option to exclude AJAX requests from redirection
– Built-in logging for debugging purposes
– User-friendly settings page
– GDPR compliant with privacy considerations
– Lightweight and optimized for performance
– No configuration needed for basic operation
Privacy Policy
This plugin redirects 404 (page not found) errors to your homepage. It does not collect, store, or process any personal user data. The plugin may log redirect activity for debugging purposes when explicitly enabled in settings, but these logs only contain URL patterns and do not include personally identifiable information. Any logged data is stored temporarily in server logs only.
License
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Instalación
- Upload the plugin folder to the
/wp-content/plugins/directory, or install the plugin via the WordPress Plugins menu by uploading the ZIP file. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- The plugin will automatically handle 404 redirects to the homepage with default settings.
- For advanced configuration, go to Settings > 404 Redirect to customize the behavior.
Preguntas frecuentes
-
Will this plugin affect my site’s performance?
-
No, the plugin is lightweight and designed to have minimal impact on your site’s performance. It only runs when a 404 error occurs.
-
Can I customize the redirect destination?
-
The plugin redirects to the homepage by default, but developers can use the
simple_redirect_404_redirect_urlfilter hook to change the destination URL. -
Can I exclude certain URLs from being redirected?
-
Yes! Version 2.0 includes a new feature to exclude URL patterns. Go to Settings > 404 Redirect and add patterns (one per line) that should not trigger redirects.
-
What redirect status codes are available?
-
You can choose between 301 (Moved Permanently), 302 (Found), 303 (See Other), and 307 (Temporary Redirect). 301 is recommended for SEO.
-
Does the plugin log redirect activity?
-
Optional logging is available in the settings. When enabled, redirects are logged to the WordPress debug log (requires WP_DEBUG to be enabled).
-
Does this work with AJAX requests?
-
By default, AJAX requests are excluded from redirection, but this can be changed in the settings.
-
Is this plugin GDPR compliant?
-
Yes, the plugin includes privacy policy content and does not collect personal user data. Optional logging only records URL patterns without personal information.
Reseñas
No hay reseñas para este plugin.
Colaboradores y desarrolladores
«Simple Redirect 404 to Homepage» es un software de código abierto. Las siguientes personas han colaborado con este plugin.
ColaboradoresTraduce «Simple Redirect 404 to Homepage» a tu idioma.
¿Interesado en el desarrollo?
Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.
Registro de cambios
2.0
- MAJOR UPDATE: Complete code rewrite with object-oriented architecture
- NEW: Added settings page for configuration
- NEW: Multiple redirect types (301, 302, 303, 307)
- NEW: URL pattern exclusion feature
- NEW: AJAX request exclusion option
- NEW: Optional logging system
- NEW: Privacy policy content
- NEW: Settings link in plugins list
- NEW: Internationalization support
- IMPROVED: Enhanced security with proper sanitization and validation
- IMPROVED: Better performance and error handling
- IMPROVED: WordPress.org guidelines compliance
- IMPROVED: Code documentation and maintainability
1.0
- Initial release with basic 404 to homepage redirect functionality
