=== Redirect All 404 URLs to Home Page ===
Contributors: thesourabhn
Donate link: https://paypal.me/sourabhnagori
Tags: 404, redirect, home, error handling, custom redirect
Requires at least: 4.6
Tested up to: 6.7
Stable tag: 2.0
Requires PHP: 7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Plugin URI: https://worldwebsolutions.in/redirect-all-404-urls-to-home
Text Domain: redirect-all-404-urls-to-home-page

A powerful yet simple solution to redirect 404 errors and manage custom redirects in WordPress.

== Description ==

**Redirect All 404 URLs to Home Page** improves how your website handles missing pages and broken links. Instead of showing visitors frustrating 404 error pages, this plugin smoothly redirects them to your homepage or custom destinations of your choice.

### Key Features:
- **Automatic 404 Handling**: Seamlessly redirects all 404 errors to your homepage.
- **Custom Redirect Rules**: Define specific redirect rules for particular URLs.
- **User-Friendly Interface**: Easily manage all your redirects through an intuitive admin panel.
- **Performance Optimized**: Lightweight implementation with minimal impact on site speed.
- **Flexible Configuration**: Choose between homepage redirect or custom URL destinations.
- **Secure & Compliant**: Proper sanitization, escaping, and validation ensure WordPress security best practices.

### Why Choose This Plugin?
- **Improve User Experience**: Prevent dead ends and keep visitors engaged.
- **SEO Benefits**: Maintain link equity by properly handling 404 errors.
- **Time-Saving**: Set up once and let the plugin handle all redirects automatically.
- **Professional Support**: Regular updates and responsive technical assistance.

### Perfect For:
- Blog migrations
- Website restructuring
- Handling deleted content
- Managing outdated links
- E-commerce site maintenance

== Installation ==

### Automatic Installation:
1. Go to your WordPress admin dashboard.
2. Navigate to **Plugins > Add New**.
3. Search for **Redirect All 404 URLs to Home Page**.
4. Click **Install Now** and then **Activate**.

### Manual Installation:
1. Download the plugin `.zip` file from the WordPress repository.
2. Extract the contents and upload the `redirect-all-404-urls-to-home-page` folder to the `/wp-content/plugins/` directory.
3. Activate the plugin through the **Plugins** menu in WordPress.

### After Activation:
1. By default, all 404 errors will be redirected to the homepage.
2. To configure custom redirects:
   - Go to **Settings > Redirect 404**.
   - Click **Add New Redirect**.
   - Enter the source URL and destination URL.
   - Save your changes.

== Frequently Asked Questions ==

### How does the automatic 404 redirect work?
The plugin detects 404 errors in real-time and automatically redirects visitors to your homepage, ensuring a seamless experience.

### Can I set up different redirect destinations for specific URLs?
Yes! The custom redirect feature allows you to define specific redirect rules for any URL on your site.

### Will this plugin slow down my website?
No, the plugin is lightweight and optimized for performance.

### Is it compatible with caching plugins?
Yes, it works seamlessly with popular caching plugins like WP Super Cache and W3 Total Cache.

### Can I track the redirects?
While the basic version doesn’t include tracking, you can use Google Analytics or similar tools to monitor redirected traffic.

== Screenshots ==

1. **Main Settings Interface** – Manage 404 redirections easily.
2. **Custom Redirect Management** – Set up custom rules for specific URLs.
3. **Redirect Statistics Dashboard** – View insights into redirected traffic.

== Changelog ==

### 1.1
- **Fixed contributor name issue** (`thesourabhn` added)
- **Fixed empty settings page issue**
- **Removed unnecessary "Domain Path" header**
- **Renamed plugin filename to match WordPress requirements**

### 1.0
- **Initial release** with basic 404 redirection functionality.

== Upgrade Notice ==

### 1.1
- Adds security improvements and custom redirect functionality.
- Recommended update for all users.

### 1.0
- Initial release.

== Support ==

For technical support or feature requests, visit our [support forum](https://wordpress.org/support/plugin/redirect-all-404-urls-to-home-page/) or contact us through the plugin settings page.

== Contributing ==

We welcome contributions! Submit pull requests to our [GitHub repository](https://github.com/sourabhnagori/redirect-all-404-urls-to-home).

== Privacy Notice ==

This plugin does not collect or store any personal data from visitors.
