WP 404 Auto Redirect to Similar Post

Wordpress Plugin
Download latest - 1.0.3

Developers

hwk-fr

Download Stats

Today 49
Yesterday 139
Last Week 1,181
All Time 63,179
Banner 772x250

Welcome to WP 404 Auto Redirect to Similar Post!

This plugin automatically redirect 404 pages to similar posts based on Title, Post Types & Taxonomies. If nothing similar is found, visitors will be redirected to the homepage or a custom URL.

Features:

  • Automatically detect any 404.
  • Automatically search a similar post based on multiple factors:
    • Title
    • Potential Post Type
    • Potential Taxonomy
  • If nothing similar is found, set your Fallback Behavior:
    • Redirect to homepage
    • Redirect to a custom URL
    • Display the default 404 page
  • Choose the redirection HTTP header status:
    • 301 headers
    • 302 headers
  • Exclude Post Types from possible redirections.
  • Exclude Taxonomies from possible redirections.
  • Exclude Posts based on a custom post meta.
  • Exclude Terms based on a custom term meta.
  • Display the Debug Console instead of being redirected (Admin).
  • Preview possible redirection from the administration panel.

*New* Features:

  • Expose 'WP-404-Auto-Redirect' headers on 404 pages. (Admin).
  • Log redirections in the /wp-content/debug.log file.
  • Create your own search engines logic.
  • Create your own search engines groups & fire sequence.

*New* Engines & Groups:

WP 404 Auto Redirect to Similar Post 1.0 introduces the concept of engines and groups which let you customize your own searching & matching logic. The plugin comes with 5 engines and 1 default group out of the box!

Default Group Engines:

  1. Fix URL Find and fix common URL mistakes.

  2. Direct Match Search for a Post that perfectly match keywords.

  3. Search Post Search for a similar Post.

  4. Search Term Search for a similar Term.

  5. Search Post: Fallback If a Post Type is set in the WP Query, redirect to the Post Type Archive.

But Also:

  • Easy to Install / Uninstall.
  • No useless data saved in Database.
  • Blazing Fast Performance.

Compatibility:

WP 404 Auto Redirect to Similar Post is 100% compatible with all popular manual redirection plugins:

  • Redirection
  • Simple 301 Redirects
  • Yoast Redirections
  • etc...

If you use one of them, but missed a manual redirection and a 404 is about to be displayed, WP 404 Auto Redirect to Similar Post will cover you.


Releases (15 )

Version Release Date Change Log
1.0.3 2020-06-12
  • Improvement: Enhanced search algorithm & matching
1.0.2 2018-11-13
  • Fix: Request sanitization compatibility for nginx servers
1.0.1 2018-11-12
  • Fix: Priority exception when it equals 0
  • Fix: Settings page link missing from plugins page
1.0 2018-11-11
  • Added: Log redirections in the /wp-content/debug.log file.
  • Added: Expose 'WP-404-Auto-Redirect' headers on 404 pages. (Admin).
  • Added: Groups & Engines Feature.
  • Added: Groups & Engines Documentation & Examples (developers).
  • Added: Groups & Engines Admin panel.
  • Added: Index.php file redirecting to root domain (avoid plugin folder file listing).
  • Added: action('wp404arsp/search/init', $query)
  • Added: filter('wp404arsp/search/group', $group, $query)
  • Added: filter('wp404arsp/search/query', $query)
  • Added: filter('wp404arsp/search/engine/{engine}', $result, $query, $group)
  • Added: filter('wp404arsp/search/results', $query)
  • Added: filter('wp404arsp/search/redirect', $redirect, $query)
  • Improvement: Core reworked from scratch for better extensibility.
  • Removed: 'Hooks' tab
0.9.0.2 2018-10-29
  • Fix: Plugin priority set to 999 by debault
  • Added: New Filter available ('wp404arsp/init', $init, $request_uri)
  • Added: Filters & Actions documentation
  • Added: Hooks tab documentation in Administration panel
  • Improvement: Plugin's page description
  • Removed: Unnecessary filter ('wp404arsp/settings', $settings)
0.9.0.1 2018-10-22
  • Fix: Paged request redirection "Uncaught Argument" error
0.9 2018-10-17
  • Fix: 302 headers option would not save
  • Fix: Redirection loop in some specific cases - Direct match on private posts
  • Fix: Ajax URL for custom /wp-admin/ path (Preview Mode)
  • Added: New Filter available ('wp404arsp/settings', $settings)
  • Added: New Filter available ('wp404arsp/redirect', $args, $settings)
  • Added: New Action available ('wp404arsp/after_redirect', $args, $settings)
  • Added: New page header 'WP-404-Auto-Redirect: true' on redirection
  • Added: Exclude posts with the post meta: `wp404arsp_no_redirect
0.7.7 2018-01-25
  • Fixed PHP header() error on upgrade
  • Fixed Exclude Post Type from Redirections UI & Logic
  • Added 999 priority on template_redirect action for compatibility
  • Fixed 'Compatibility' typo in description
  • Updated Plugin Screenshot
0.7.6 2018-01-03
  • Added "Custom Redirect URL" as Fallback Behavior (Feature Request)
  • Added "Exclude Post Type" Multi-select to possible redirections (Feature Request)
  • Fixed Typos & added better descriptions
  • Better overall request validation
  • Fixed minor PHP Notice
0.7.2 2017-10-02
  • Improved direct match algorythm
  • Improved sanitization of requests with an extension
  • Improved post_type matching to only search "active" post_types
  • Re-introduced Term search as fallback (if no similar post found)
0.7.1 2017-10-01
  • Enhanced Post Types handle
  • Enhanced Paginated request handle
  • Fixed bug while displaying legacy 404
  • Fixed PHP notice on preview mode
0.7 2017-09-30
  • Reworked code
  • Added settings page
  • Added Debug mode for administrators (settings page)
  • Added the ability to disable "Redirect to Homepage" if nothing found (settings page)
  • Added the ability to choose between 301 or 302 HTTP Headers (settings page)
  • Added the ability preview URL Redirections (settings page)
0.4.0.2 2017-04-29
  • Fixed sanitization bug
  • Fixed debug typo
0.4 2017-04-29
  • Revamped Code
  • Improved Speed
  • Better Post Type / Category / Taxonomy matching
0.3.2 2017-04-29
  • Added Debug monitoring
  • Better management of paged requests