🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Auto Redirect 404 to Custom URL – 404 Redirect & Error Log icon
Actively maintained Tested with WP 7.1 #14 in 301 redirect

Auto Redirect 404 to Custom URL – 404 Redirect & Error Log

Redirect 404 errors to any URL with SEO-friendly 301 redirects, and log every broken link so you can find and fix 404 errors fast.

Active installs40+10+ tier
Downloads · 30d200▲ +41.8% vs prev. 30d
Rating5/51 reviews
Health score70/100Good
All-time downloads908Since Nov 2025
Support resolved—No recent threads
RequiresWP 5.0PHP 7.4+
Downloads · 7d49▼ -22.2% week over week
Our verdict

Solid choice

Auto Redirect 404 to Custom URL is a solid plugin choice in 2026, with a few things worth checking first. It runs on 40+ sites, is rated 5/5 and was last updated 2 months ago, and scores 70/100 on our health check.

  • Tested with the latest WordPress (7.1)
  • Small user base (40+ active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

71421Sep 3Oct 17Dec 1
Yesterday10
Daily average (1y)2
Peak day28Sep 19, 2026
Last 12 months865

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Auto Redirect 404 to Custom… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
301 redirect #44 904 Best 301 redirect plugins →
404 error #27 2,408 Best 404 error plugins →
404 redirect #22 1,609 Best 404 redirect plugins →
redirect #63 8,550 Best redirect plugins →
seo >100 9,691 Best seo plugins →

Version adoption

Share of active sites per release.

  • 1.273.3%
  • 1.026.7%

Rating breakdown

★★★★★★★★★★ 5 from 1 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Auto Redirect 404 to Custom URL

From the official readme · v1.2.0

Description

Auto Redirect 404 to Custom URL is a fast, lightweight 404 redirect plugin that automatically sends every 404 “Page Not Found” error to a custom URL or your homepage — and now logs every broken link so you can see exactly which pages are missing.

Instead of losing a visitor to an error page, the plugin redirects them to a page that works. Instead of guessing which URLs are broken, the built-in 404 error log shows you every missing URL, how many times it was hit, and where the visitor came from.

If you are trying to clear “Not found (404)” errors out of Google Search Console, fix broken links after a site migration, or simply stop losing traffic to dead URLs, this plugin does it in about thirty seconds of setup.

Key Features

  • Redirect 404 to Homepage or Any URL – send all 404 errors to your homepage, a landing page, a category, or an external site
  • 404 Error Log – every broken URL recorded with a hit counter, referrer, and first/last seen timestamps
  • SEO-Friendly 301 Redirects – permanent redirects that pass link equity, with a 302 temporary option when you need it
  • Fix Google Search Console 404 Errors – resolve “Not found (404)” and soft 404 reports with proper redirects
  • One-Click Enable / Disable – toggle redirects and logging independently, without deactivating the plugin
  • Quick Page Select – pick any published page from a dropdown instead of typing a URL
  • CSV Export – download your full 404 log for analysis in Excel or Google Sheets
  • Top 404 Errors Widget – your five worst broken links, right on the settings screen
  • Privacy-Friendly Logging – no IP addresses, no user agents, no personal data stored
  • Self-Limiting Log Table – hard-capped at 1,000 rows, so a bot scan can never bloat your database
  • Smart Exclusions – feeds, sitemaps, robots.txt, REST API and cron requests keep their real 404 status
  • Skip Files & System Paths – missing images, scripts, fonts and documents keep a real 404 instead of being redirected
  • Custom Exclusion Patterns – your own wildcard rules for URLs that should stay a genuine 404
  • Redirect Loop Protection – checks the destination really exists before sending anyone to it
  • Lightweight & Fast – no bloat, no third-party services, and zero work on pages that are not 404s
  • Works With Any Theme – runs independently of your theme and page builder

The 404 Error Log

Turn on 404 Logging from the settings screen and the plugin starts recording every broken URL on your site.

Each unique URL is stored once with a hit counter, so a crawler hitting the same missing page ten thousand times creates a single row — not ten thousand. The log is capped at 1,000 entries and trims the least recently seen URLs automatically, so it can never grow out of control.

From the 404 Logs tab you can:

  • Sort by hit count to find your most damaging broken links first
  • Search the log by URL or referrer
  • See where each broken link was clicked from
  • Delete individual entries, bulk delete, or clear the whole log
  • Export everything to CSV

Logging stores the requested path, the referring URL, a hit count and timestamps. No IP addresses and no user agents are recorded, so there is nothing personally identifying in the log.

Exclusions & Safety

Three controls on the settings screen decide exactly which 404s the plugin touches. On a new install they are switched on for you. If you are updating from an earlier version they start switched off, so your site keeps behaving exactly as it did until you choose to enable them.

Redirect Loop Protection verifies that your redirect destination actually exists before sending visitors to it. If the destination is itself missing, the plugin steps aside and shows the normal 404 page rather than bouncing the visitor back and forth until the browser gives up.

The check itself runs on a scheduled background task and whenever you save settings, never during a visitor’s request, so it can never add a single millisecond to a page load. A destination that has not been checked, or cannot be checked because your host blocks internal requests, is simply treated as fine and your redirects carry on working exactly as before.

Skip Files & System Paths keeps a real 404 for missing images, scripts, stylesheets, fonts, documents and archives, and for system paths such as /wp-json/, /wp-content/, feeds, sitemaps and robots.txt. Redirecting a missing image or script to an HTML page confuses browsers and crawlers, so this is switched on for new installs and recommended for everyone else.

Exclusion Patterns lets you list your own URL patterns, one per line, that should always keep a genuine 404:

/private/*
/downloads/*.zip
*/preview
/campaign-?

Use * to match any part of a path and ? to match a single character. Matching is against the path only, ignoring the domain and query string, and is not case sensitive. Excluded URLs are neither redirected nor logged.

Why Fix 404 Errors?

Unhandled 404 errors quietly cost you:

  • Traffic – visitors who hit an error page usually leave and do not come back
  • SEO rankings – crawl budget is wasted on dead URLs, and inbound link equity is lost
  • Conversions – a potential customer who lands on an error page is a lost sale
  • Credibility – broken pages make a site look abandoned

A 301 redirect solves all four at once, and the 404 log tells you which URLs are worth a dedicated redirect.

Perfect For

  • Fixing 404 errors after a site migration or redesign
  • Recovering traffic from deleted posts, pages, and products
  • Cleaning up “Not found (404)” reports in Google Search Console
  • Finding broken links pointing at your site from elsewhere
  • Catching mistyped URLs in your own navigation and content
  • SEO audits and ongoing link maintenance

For Developers

Three filters let you customise behaviour without touching plugin files:

// Skip the redirect for specific URLs.
add_filter( 'r404c_should_redirect', function ( $should, $current_url, $target ) {
    if ( false !== strpos( $current_url, '/keep-404/' ) ) {
        return false;
    }
    return $should;
}, 10, 3 );

// Skip logging for specific URLs.
add_filter( 'r404c_should_log', function ( $should, $url ) {
    return false === strpos( $url, '/wp-content/' ) ? $should : false;
}, 10, 2 );

// Exclude a request from both redirecting and logging.
add_filter( 'r404c_exclude_request', function ( $excluded ) {
    return $excluded;
} );

Support the Developer

If this plugin saved you time, please consider buying me a coffee or leaving a review. Both help enormously.

Privacy

This plugin does not send any data to any external service.

The only network request it ever makes is Redirect Loop Protection issuing a HEAD request to your own site, to confirm the redirect destination exists before visitors are sent there. It runs on a scheduled background task, no data leaves your server, and the check can be switched off on the settings screen.

When 404 logging is enabled, the plugin stores the following in a table in your own database:

  • The requested URL path that returned a 404
  • The referring URL, if the browser supplied one
  • A hit counter and the first/last seen timestamps

No IP addresses, no user agent strings, and no user account information are recorded. The log is capped at 1,000 rows and older entries are removed automatically. Logging is off by default and can be switched off at any time, and deleting the plugin removes the table entirely.

Support

Need help? Have suggestions?

Installation

Automatic Installation

  1. Log in to your WordPress admin dashboard
  2. Navigate to Plugins > Add New
  3. Search for “Auto Redirect 404 to Custom URL”
  4. Click Install Now and then Activate
  5. Go to Settings > Auto 404 Redirects to configure

Manual Installation

  1. Download the plugin ZIP file
  2. Upload the auto-redirect-404s folder to /wp-content/plugins/
  3. Activate the plugin through the Plugins menu in WordPress
  4. Navigate to Settings > Auto 404 Redirects to configure your redirect URL

Configuration

  1. After activation, go to Settings > Auto 404 Redirects
  2. Enter your custom redirect URL, or pick a page from the Quick Select dropdown
  3. Choose 301 (permanent) for SEO, or 302 (temporary) if the change is short-term
  4. Switch on 404 Logging if you want to record broken links
  5. Optionally add Exclusion Patterns for URLs that should stay a real 404
  6. Click Save Settings
  7. Test by visiting a non-existent page on your site

Changelog

Adds optional 404 error logging, redirect loop protection, file and system path skipping, and custom exclusion patterns. Your existing settings are preserved and the new options start switched off, so nothing changes until you enable them. Now requires WordPress 5.0+ and PHP 7.4+.

1.2.0

404 Error Logging

  • New: optional 404 logging with a dedicated 404 Logs tab on the settings screen
  • New: each unique URL is stored once with a hit counter, referrer, and first/last seen timestamps
  • New: sort, search, paginate, delete individual entries, bulk delete, and clear the whole log
  • New: CSV export of the full log
  • New: “Top 404 Errors” widget on the settings sidebar showing your five worst broken links
  • Privacy: no IP addresses and no user agents are recorded
  • Safety: the log table is hard-capped at 1,000 rows and trims itself, so a bot scan cannot bloat your database

Exclusions & Safety

  • New: Redirect Loop Protection verifies the destination exists before redirecting, and shows the normal 404 if it does not. The check runs on an hourly background task and on settings save, never during a visitor’s request, so it cannot slow the site down
  • New: Skip Files & System Paths keeps a real 404 for missing images, scripts, stylesheets, fonts, documents, archives and system paths
  • New: Exclusion Patterns for your own wildcard rules for URLs that should stay a genuine 404, never redirected or logged
  • New: toggle to show or hide the “Top 404 Errors” sidebar widget
  • Note: on an existing install the two behaviour-changing options above start switched off, so nothing changes until you enable them. New installs get them on

Fixes and hardening

  • Fixed: the activation routine never actually ran, so default options were never written. Upgrades are now handled on admin load, which is what reaches sites updated through the WordPress updater
  • Fixed: removed a “same as your current site URL” confirmation dialog that appeared on every save. It compared hostnames only, so pointing 404s at your own homepage, the recommended setup, always triggered it
  • Fixed: redirect loops caused by http/https, trailing-slash and query-string differences between the request and the destination
  • Fixed: feeds, sitemaps, robots.txt, REST API and cron requests are no longer redirected and keep their real 404 status
  • Fixed: activation and deactivation no longer call wp_cache_flush(), which wiped the entire site object cache for every other plugin
  • Security: the redirect URL is now validated against an http/https allowlist, rejecting javascript:, data: and other unsafe schemes
  • Security: CSV export escapes formula characters to prevent spreadsheet formula injection
  • Security: all log queries use prepared statements, with sorting constrained to a fixed allowlist
  • New: uninstall.php removes all options and the log table, with multisite support
  • New: three filters for developers — r404c_should_redirect, r404c_should_log and r404c_exclude_request
  • Requirement: WordPress 5.0 or newer (was 4.7)
  • Requirement: PHP 7.4 or newer (was 7.0)

1.0.1

  • Compatibility updates

1.0.0

  • First stable release. Install to start redirecting 404 errors automatically!

Full changelog on WordPress.org →

Screenshots

The settings screen
The settings screen
The 404 Logs screen
The 404 Logs screen

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Auto Redirect 404 to Custom U… alternatives

All 301 redirect plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 301 Redirects – Redirect Manager 301 Redirects – Redirect Manager Manage 301 & 302 redirects. Simple redirection & redirects validation. Includes redirect… by WebFactory 300K+ ★★★★★★★★★★ 4.7 (579) 4 months ago 86
2 Simple 301 Redirects by BetterLinks – Easy Redirect Manager Simple 301 Redirects by BetterLinks – Easy Redirect Manager Simple 301 Redirects provides an easy method of redirecting requests to another page on… by WPDeveloper 100K+ ★★★★★★★★★★ 3.9 (161) 1 month ago 87
3 404 to 301 – Redirect Manager, 301 Redirection, 404 Error Logs & 404 Monitoring 404 to 301 Redirect manager for 301, 302 and 307 redirection. Monitor and fix 404 errors, log every… by Syed Balkhi 100K+ ★★★★★★★★★★ 4.7 (323) 2 months ago 91
4 301 Redirects & 404 Error Log 301 Redirects & 404 Error Log Create & manage 301 redirects. Easily test redirects. Includes 404 error log. by WebFactory 30K+ ★★★★★★★★★★ 4.6 (28) 4 months ago 79
5 SEO Redirection Plugin – 301 Redirect Manager SEO Redirection Plugin – 301 Redirect Manager Manage 301, 302, and 307 redirects from inside WordPress — no .htaccess needed. Track 404… by wp-buy 10K+ ★★★★★★★★★★ 4.3 (73) 1 week ago 86
6 404 Solution: Redirection and Page Suggestions 404 Solution: Redirection and Page Suggestions Automatically redirect 404 errors to the right page using a 7-engine matching pipeline and… by Aaron 10K+ ★★★★★★★★★★ 4.9 (45) 2 weeks ago 94
7 SEO Repair Kit – SEO, 301 Redirection, Internal Linking, Spam Monitor, Meta Manager, Schema Manager, SEO Content Monitoring, GSC Integration SEO Repair Kit Monitor and repair WordPress SEO with link scans, redirects, metadata, schema, Internal… by TorontoDigits 2K+ ★★★★★★★★★★ 5 (9) 2 weeks ago 72
8 Advanced 301 and 302 Redirect Advanced 301 and 302 Redirect Advanced plugin will allow you to create 301 and 302 redirects on your site and organize… by YYDevelopment 1K+ ★★★★★★★★★★ 5 (6) 1 week ago 82
9 Legacy URL Suffix & SEO Preserver Legacy URL Suffix & SEO Preserver Maintain SEO rankings with custom URL suffixes like .php or .html. Perfect for legacy site… by Himanshu Parashar 200+ ★★★★★★★★★★ 5 (1) 8 months ago 48
10 Remove Social ID for WP Remove Social ID for WP Remove Facebook Social ID, Google Adwords ID for Wordpress, removes querystring fbclid… by Nitin Prakash 100+ ★★★★★★★★★★ 4.3 (6) 3 months ago 67

FAQ

Auto Redirect 404 to Custom URL: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Auto Redirect 404 to Custom URL free?

Yes. Auto Redirect 404 to Custom URL is free to download and use from the official WordPress.org plugin directory.

Is Auto Redirect 404 to Custom URL safe to use in 2026?

Auto Redirect 404 to Custom URL is a solid plugin choice in 2026, with a few things worth checking first. It runs on 40+ sites, is rated 5/5 and was last updated 2 months ago, and scores 70/100 on our health check.

How many websites use Auto Redirect 404 to Custom URL?

Auto Redirect 404 to Custom URL is active on 40+ WordPress websites and has been downloaded 908 times since it launched in November 2025. It was downloaded 200 times in the last 30 days.

Does Auto Redirect 404 to Custom URL work with WordPress 7.1?

Yes. The developer has tested Auto Redirect 404 to Custom URL up to WordPress 7.1.5, the latest release. It requires WordPress 5.0 or newer.

What PHP version does Auto Redirect 404 to Custom URL need?

Auto Redirect 404 to Custom URL requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Auto Redirect 404 to Custom URL last updated?

The latest version, 1.2.0, was released on September 19, 2026 (2 months ago).

Who makes Auto Redirect 404 to Custom URL?

Auto Redirect 404 to Custom URL is developed and maintained by Nitya Saha.

What are the best alternatives to Auto Redirect 404 to Custom URL?

The most popular alternatives to Auto Redirect 404 to Custom URL are 301 Redirects (300K+ installs), Simple 301 Redirects by Bet… (100K+ installs) and 404 to 301 (100K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open