=== URL Pathfinder === Contributors: Presskopp Author: Presskopp Author URI: https://presskopp.com/ Tags: redirect, seo, permalink, url-management, 301-redirect License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Donate link: https://presskopp.com#main-footer Requires at least: 5.0 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 1.0.0 Automatically redirects 404 URLs to the closest matching permalink using fuzzy matching. == Description == Pathfinder is a powerful WordPress plugin that helps reduce 404 errors by intelligently redirecting users to the closest matching content on your website. Using advanced fuzzy matching algorithms, the plugin analyzes broken URL requests and finds the most relevant post or page to redirect users to. **Key Features:** * Intelligent 404 handling with fuzzy matching * Automatic redirection to closest matching content * Rate limiting to prevent abuse * Caching for improved performance * Admin bar notice to enable/disable the plugin without deactivating it * Support for multiple post types * Configurable bad URL filtering == Installation == 1. Upload the plugin files to `/wp-content/plugins/url-pathfinder/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. The plugin will automatically start handling 404 errors == Usage == Once activated, Pathfinder automatically handles 404 errors without requiring any configuration. The plugin: 1. Detects when a user encounters a 404 error 2. Analyzes the requested URL 3. Searches for the closest matching permalink 4. Redirects the user to the best match **Admin Bar Control:** You can quickly enable or disable the plugin using the admin bar notice: - Click on "Pathfinder ON" (enabled) or "Pathfinder OFF" (disabled) - Changes take effect immediately without page reload == Configuration == The plugin comes with sensible defaults and works out of the box, including: * **Rate Limiting**: Prevents excessive redirect attempts * **Bad URL Filtering**: Excludes system and bot URLs from processing * **Caching**: Improves performance by caching fuzzy matching results == Technical Details == **Performance:** * Caching reduces database queries * Rate limiting prevents performance issues * Early exit for blocked URLs * Efficient fuzzy matching algorithm == Frequently Asked Questions == **Q: Does this plugin affect SEO?** A: The plugin uses 302 redirects which are SEO-friendly. However, it's recommended to fix broken links rather than relying on automatic redirects. **Q: Can I disable the plugin temporarily?** A: Yes, click on the admin bar notice to quickly enable/disable without deactivating the plugin. **Q: Will this slow down my site?** A: No, the plugin only processes 404 requests and uses caching for performance optimization. **Q: How does fuzzy matching work?** A: The plugin compares the requested URL against all permalinks and finds the closest match based on string similarity. == Changelog == = 1.0.0 = * Initial release * Fuzzy matching for 404 URLs * Admin bar control * Rate limiting and caching == Support == For support and feature requests, open a ticket on wp.org == License == This plugin is licensed under the GPL v2 or later. See LICENSE file for details. Copyright (c) Presskopp - https://presskopp.com/