WordPress.org

Plugin Directory

Nandann AI Smart 404 Redirects – Auto Fix Broken Links & Typos

Nandann AI Smart 404 Redirects – Auto Fix Broken Links & Typos

Lýsing

AI Smart 404 Redirect is an intelligent WordPress plugin that goes beyond simple 404 redirects. Instead of blindly sending all broken links to your homepage, it uses advanced AI algorithms to analyze the requested URL and find the most relevant page on your site.

Key Features

🧠 AI-Powered Smart Matching
* Analyzes URL keywords and matches them with your content
* Finds the most relevant page based on titles, slugs, and content
* Assigns confidence scores to ensure accuracy

🔤 Typo Detection
* Automatically detects and corrects typos in URLs
* Uses Levenshtein distance algorithm for precise matching
* Configurable tolerance levels (1-5 character differences)

📊 Comprehensive Analytics
* Beautiful dashboard with statistics and trends
* Track all 404 errors with detailed information
* View redirect types and match scores
* 7-day trend chart

📧 Email Notifications
* Receive periodic reports (daily, weekly, or monthly)
* Beautiful HTML email templates
* Detailed statistics and recommendations

⚙️ Flexible Configuration
* Choose between AI matching, homepage redirect, or custom URL
* Set keyword matching thresholds (0-100%)
* Configure typo tolerance
* SEO-friendly 301/302/307 redirects

🎯 Smart Fallback System
* When no smart match is found, redirects to your chosen fallback
* Prevents infinite redirect loops
* Exclude media files from logging

🔒 Privacy & Performance
* Tracks visitor IP and referrer for analysis
* Automatic log cleanup based on retention settings
* Optimized database queries
* No external API calls – everything runs on your server

How It Works

  1. Detection: When a visitor encounters a 404 error, the plugin captures the requested URL
  2. Analysis: The AI algorithm extracts keywords and analyzes the URL structure
  3. Matching: It searches your site for similar pages, posts, categories, or tags
  4. Scoring: Each potential match is scored based on relevance
  5. Redirect: The visitor is redirected to the most relevant page

Use Cases

  • URL Structure Changes: Automatically redirect visitors when you change your permalink structure
  • Typos: Fix common typos in manually typed URLs
  • Old Content: Redirect to similar content when pages are deleted
  • External Links: Handle broken external links pointing to your site
  • SEO Improvement: Reduce bounce rate from 404 errors

Pro Features

All features are included in the free version! We believe in providing value to the WordPress community.

Support

For support, feature requests, or bug reports:
* Email: prakhar@nandann.com
* Website: https://nandann.com
* Subject: WordPress Development Help Request

Professional WordPress development and troubleshooting services available. Expert solutions for complex WordPress challenges including custom development, site migrations, security audits, and performance optimization.

Privacy

This plugin does not collect, store, or transmit any personal data to external services. All 404 logs and analytics are stored locally in your WordPress database. Email notifications are sent using your WordPress site’s configured mail server.

The plugin collects and stores the following information locally in your WordPress database:
– Requested URL
– Redirected URL
– Match type and score
– IP address
– Referrer URL
– User agent string

This data is used solely for analytics and improving redirect accuracy. You can configure automatic deletion of old logs in the settings.

The plugin does not:
– Send data to external servers
– Use third-party APIs
– Track users across sites
– Share data with third parties

About the Developer

Prakhar Bhatia is a professional WordPress developer and troubleshooter with extensive experience in:

  • WordPress Troubleshooting: Expert diagnosis and resolution of complex WordPress issues, performance optimization, and security hardening
  • Custom Development: Bespoke WordPress plugins, themes, and custom functionality tailored to specific business needs
  • Site Migration & Hosting: Seamless website migrations, hosting optimization, and server configuration for peak performance
  • Security & Maintenance: Comprehensive security audits, malware removal, and ongoing maintenance to keep sites secure

Nandann Creative Agency specializes in WordPress development solutions for businesses of all sizes.

Contact: prakhar@nandann.com | Website: https://nandann.com

Credits

Built with modern WordPress development practices. Developed by Prakhar Bhatia at Nandann Creative Agency.

Uppsetning

  1. Upload the ai-smart-404-redirect folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Settings > AI 404 Redirect to configure the plugin
  4. Enable AI Smart Matching and set your preferences
  5. Monitor your 404 errors in the Dashboard and Logs tabs

SOS

How does the AI matching work?

The plugin uses multiple algorithms:
Typo Detection: Uses Levenshtein distance to find URLs with similar spelling
Keyword Matching: Extracts keywords from the URL and searches your content
Taxonomy Matching: Checks categories and tags for matches
Each match is scored, and the highest-scoring relevant page is selected.

Will this affect my site’s performance?

No. The plugin is optimized for performance with:
– Efficient database queries with proper indexing
– Caching of search results
– Configurable log retention to keep database size manageable
– All processing happens only on 404 pages

Can I see which URLs are being redirected?

Yes! The Logs tab shows all 404 errors with:
– Requested URL
– Redirect destination
– Match type and confidence score
– Number of hits
– Visitor IP and referrer
– Timestamp

What redirect type should I use?

For SEO purposes, we recommend 301 (Permanent Redirect). This tells search engines that the old URL has permanently moved, transferring any SEO value to the new destination.

Can I exclude certain URLs from redirection?

Currently, you can exclude media files (images, CSS, JS, etc.). We’re working on adding custom exclusion rules in future updates.

Does it work with custom post types?

Yes! The plugin searches through all public post types, including posts, pages, and custom post types.

What happens if no match is found?

The plugin will redirect to your configured fallback URL (homepage by default or a custom URL).

Umsagnir

16. nóvember, 2025
I love to use this plugin and it doesn’t need even a biok. wow!
16. nóvember, 2025 2 replies
Awesome plugin that works for both WordPress and Woocommerce 404 smart redirects. The developer is supportive and helpful.
Skoða 2 umsagnir

Þátttakendur & höfundar

“Nandann AI Smart 404 Redirects – Auto Fix Broken Links & Typos&#8221 er opinn hugbúnaður. Eftirfarandi aðilar hafa lagt sitt af mörkum við smíði þessarar viðbótar.

Höfundar

Breytingarsaga

1.2.5

  • Added: Path exclusion feature – exclude specific URL prefixes from redirection (e.g., /go/, /out/, /link/)
  • Fixed: Compatibility with affiliate link plugins and pretty link managers
  • Improved: Settings page now includes excluded paths configuration with helpful examples
  • Use Case: Perfect for sites using affiliate links, custom redirects, or URL shorteners that shouldn’t be processed by the 404 handler

1.2.4

  • Added: WooCommerce product category support – plugin now searches and redirects to product categories
  • Improved: Smart matching now checks product categories in typo detection and keyword matching
  • Improved: Conditional WooCommerce support – product features only load when WooCommerce is active
  • Enhanced: Better compatibility for sites without WooCommerce installed

1.2.3

  • Fixed: Settings save functionality issue that prevented configuration changes from being saved
  • Fixed: Resolved form submission bug introduced in version 1.2.2
  • Improved: Code stability and reliability

1.2.2

  • Added: WooCommerce product support – plugin now searches and redirects to WooCommerce products
  • Improved: Enhanced smart matching to include product post type in search results
  • Tested: Compatibility verified with WooCommerce 8.x and WordPress 6.8

1.1.0

  • Improved: Performance optimizations
  • Fixed: Minor bug fixes

1.0.0

  • Initial release
  • AI-powered smart matching
  • Typo detection with Levenshtein distance
  • Keyword-based content matching
  • Category and tag matching
  • Comprehensive logging system
  • Beautiful admin dashboard
  • Email notifications (daily/weekly/monthly)
  • Configurable thresholds and settings
  • Export logs to CSV
  • Automatic log cleanup
  • Admin bar statistics widget