=== 404 Redirect to Homepage or Custom URL === Contributors: dominopress Donate link: https://buymeacoffee.com/wpwiki Tags: 404, redirect, homepage, custom url Requires at least: 4.7 Tested up to: 6.8 Stable tag: 1.0.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Redirect all 404 pages to your homepage or any custom URL (including external URLs). == Description == This simple plugin automatically redirects all 404 (Page Not Found) errors to either your website's homepage or any custom URL of your choice (including external URLs). Features: - Enable/disable 404 redirection - Redirect to homepage or any custom URL - Works with external URLs - Simple settings page == Installation == 1. Upload the plugin files to the `/wp-content/plugins/404-redirect-to-homepage-or-custom-url` directory, or install the plugin through the WordPress plugins screen directly. 2. Activate the plugin through the 'Plugins' screen in WordPress 3. Configure the plugin settings under Settings > 404 Redirect == Frequently Asked Questions == = Can I redirect to an external website? = Yes, you can enter any valid URL in the redirect URL field, including external websites. = What HTTP status code is used for the redirect? = The plugin uses a 301 (permanent) redirect. = Will this affect my SEO? = Properly configured 301 redirects are SEO-friendly. However, make sure you're not accidentally redirecting pages that should return 404 status codes. == Screenshots == 1. The plugin settings page where you can enable/disable redirection and set the redirect URL. == Changelog == = 1.0.0 = * Initial release == Upgrade Notice == 1.0.0 First version of the plugin.