sandywp / plugins / 404-solution

404 Solution

4.9 out of 5 stars. 4.9 44 reviews

Automatically redirect 404 errors to the right page using a 7-engine matching pipeline and spell-checking algorithm. Zero configuration required.

Launch a sandbox with this plugin → No signup.
Ready in seconds.

v4.3.5 10,000+ installs WP 5.0+ PHP 7.4+

your-sandbox.sandywp.com/wp-admin
404 Solution running inside a SandyWP sandbox

What you get inside

6 screens
  • Redirect Dashboard — Active redirects with color-coded status badges (301, 302, 307, 308, 410, 451), match confidence scores, and engine names. Filter by…

  • Statistics — Summary cards for redirects, captured URLs, and daily stats. Match confidence donut chart and 30/90-day trend analytics for 404 hits.

  • Debug Log — Real-time debug output showing engine processing, spell-check scoring, candidate evaluation, and redirect decisions for every 404 request.

  • Captured 404s — Every unhandled 404 logged with URL, hit count, first-seen and last-seen timestamps. Filter by captured, ignored, or later status.

  • Settings — Configure automatic redirect behavior, custom 404 page, auto-deletion rules, default redirect type, and notification preferences.

  • Email Digest — Weekly HTML email summarizing captured 404s, resolution rate, and a ranked table of top 404 URLs with color-coded hit badges.

About this plugin

Stop losing visitors and search rankings to broken links. 404 Solution automatically redirects 404s to the right page — not just your homepage — using a 7-engine matching pipeline that includes a spell-checking algorithm to find what visitors actually typed.

Example: A visitor hits /prodcut/awesome-item (typo). Most 404 redirect plugins send them to your homepage. 404 Solution’s spell-checker finds /product/awesome-item and redirects them there automatically.

Why 404 Solution Is Different

Most redirect plugins fall into two categories: tools that require you to manually write every rule, or tools that blindly send every 404 to your homepage. 404 Solution does neither.

  • A spell-checking algorithm that actually matches typos. Using Levenshtein distance and N-gram scoring, 404 Solution catches /prodcut/, /categroy/, and /wooocmmerce/ and finds the real destination — something no other free plugin does.
  • 7 matching engines, in sequence. Slug match → URL fix → Title keywords → Category/tag paths → Content search → Spelling similarity → Archive fallback. The first engine with a confident match wins.
  • Automatic, from day one. Install and activate. 404 Solution starts capturing and redirecting immediately. You can tune it; you don’t have to.
  • Redirect management when you need it. Full manual redirect editor, regex support, bulk actions, and CSV/JSON import compatible with Redirection’s export format.
  • Debug mode that shows its work. Enable debug logging and see exactly which engine chose a redirect and why — a level of transparency no competing plugin offers.
  • Built for real-world hosting. Self-healing database tables, auto-recovery from corruption, automatic log trimming, and zero wp-admin-wide banners.
  • Ships with extras most plugins sell separately. HTTP 410 Gone, 307/308/451 status codes, Google Search Console integration, REST API, WP-CLI support, email digest reports, and security probe detection — all free.

Unlike plugins that blindly redirect to your homepage

A 404-to-homepage redirect tells Google your broken URL is the same page as your homepage. That creates a soft 404 — a page Google may index as duplicate content, eroding crawl budget and ranking over time.

404 Solution redirects to the correct destination, or returns a proper 410 Gone when content is permanently removed. Both outcomes are better for search engines and for visitors.

How It Works

  1. A visitor reaches a URL that returns a 404.
  2. 404 Solution runs the URL through its 7-engine pipeline.
  3. Each engine tries to find a confident match above its score threshold.
  4. The first engine to find a match wins. The visitor is redirected to the correct page.
  5. The redirect is logged. You can review, edit, or delete it from the dashboard.

The whole process adds no perceptible latency for visitors on non-404 pages. The matching pipeline only runs when a genuine 404 occurs.

Key Features

Intelligent Automatic Matching

  • 7-engine matching pipeline (slug, URL fix, title, category/tag, content, spelling, archive)
  • Levenshtein distance + N-gram scoring catches genuine typos
  • Per-engine confidence thresholds — tune aggressiveness per engine
  • Conditional engine groups — override the matching strategy for specific URL patterns
  • Slug-change auto-detection — redirects created automatically when you rename a post
  • Trash/deletion monitoring — redirect created automatically when a post is deleted

Redirect Management

  • Manual redirect editor with bulk actions
  • Full regular expression support
  • CSV and JSON import/export (compatible with Redirection plugin format)
  • .htaccess and Nginx server-level export
  • Per-post and per-term exclusion via meta box
  • HTTP status codes: 301, 302, 307 (method-preserving temporary), 308 (method-preserving permanent), 410 Gone, 451 Unavailable For Legal Reasons, and Meta Refresh
  • GDPR-compliant: IP addresses are hashed before storage — never written to disk in plain text

404 Monitoring and Logging

  • Captures every 404 hit with referrer, user agent, and timestamp
  • Automatic log trimming with configurable disk usage limits
  • Security monitoring — flags vulnerability scanner probes (.env, /wp-config.php, phpMyAdmin, etc.)

Reporting and Diagnostics

  • Stats dashboard with traffic trend charts (404s, redirects, captures over time)
  • Email digest reports
  • Debug logging — see which engine fired and why
  • Google Search Console integration — import crawl errors and push fixes
  • Internal link scanner to find broken links before visitors do

Developer and Integrator Tools

  • REST API for redirect management
  • WP-CLI subcommands (list, create, delete, import, export)
  • Scheduled maintenance cron
  • Full WordPress Multisite support

Compatibility

  • WooCommerce (products, variations, categories, custom URLs)
  • Yoast SEO, Rank Math
  • WPML, Polylang, TranslatePress
  • Easy Digital Downloads
  • All custom post types and custom taxonomies

Perfect For

  • eCommerce sites (WooCommerce, EDD) with changing product URLs
  • Content sites with evolving permalink structures
  • Migrated sites where old URLs need to map to new content
  • Large sites with thousands of pages where manual redirects are impractical

Questions

How is this different from the Redirection plugin?

Redirection is a manual redirect manager — you write the rules, it applies them. That is useful when you know in advance which URLs will break. 404 Solution handles the URLs you don’t know about: it automatically finds the right destination using a 7-engine matching pipeline and a spell-checking algorithm.

Example: If a visitor types /prodcut/awesome-item, Redirection does nothing unless you manually created that specific rule. 404 Solution finds /product/awesome-item automatically.

The two plugins are complementary. Many sites run both: Redirection for planned migrations and 404 Solution for everything else.

How is this different from 404 to 301?

404 to 301 redirects ALL 404 errors to one fixed destination (usually the homepage). 404 Solution finds the actual page the visitor was looking for. Sending visitors to your homepage is poor UX and can create soft 404 problems in Google Search Console.

How is this different from WP 404 Auto Redirect to Similar Post?

WP 404 Auto Redirect uses keyword matching, which works when the URL contains recognizable words from a post title. It fails on character-level typos — a URL like /prodcut/ has no keyword that matches “product.”

404 Solution adds Levenshtein spell-checking, which catches transpositions and typos regardless of whether the keywords match. It also includes: full 404 logging, manual redirect management, CSV import/export, 410/451 status codes, GDPR IP hashing, debug logging, REST API, and WP-CLI support.

What HTTP status codes are supported?

301 (permanent redirect), 302 (temporary redirect), 307 (temporary, method-preserving), 308 (permanent, method-preserving), 410 Gone (correct response for permanently deleted content — better for SEO than a 301 to homepage), 451 Unavailable For Legal Reasons, and Meta Refresh (client-side HTML redirect).

Using 410 instead of redirecting deleted content to your homepage produces better results in Google Search Console and prevents soft-404 indexing.

Will this slow down my site?

No. The matching pipeline only runs when a genuine 404 occurs — normal page loads are unaffected. For large sites, 404 Solution uses N-gram indexing and caching tables to keep matching fast. Once a redirect is established, subsequent hits are served from the redirect table directly, bypassing the pipeline.

Does it work with WooCommerce?

Yes. 404 Solution indexes WooCommerce products, product variations, product categories, and tags. When a product URL changes or a product is deleted, the appropriate redirect is created automatically.

What happens when a redirect destination is deleted?

404 Solution detects when a destination post is trashed or deleted and flags the redirect. Redirects pointing to deleted content are highlighted in the redirect table so nothing slips through unnoticed. The daily maintenance cron automatically removes orphaned auto-redirects.

Can I import redirects from another plugin?

Yes. 404 Solution imports CSV and JSON in the Redirection plugin’s export format. It can also directly import from Rank Math, Yoast SEO, AIOSEO, and Safe Redirect Manager’s database tables from the Tools tab.

4.9

44 reviews

  • 5 ★ 43
  • 4 ★ 0
  • 3 ★ 0
  • 2 ★ 0
  • 1 ★ 1

Ratings come from WordPress.org. SandyWP does not collect its own reviews.

sandywp / also on the shelf

Try another plugin

Spin up a real WordPress site in seconds.

Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.