Select one or more tags, then press “Search Plugins”

Find Plugin with any / all of the selected criteria
Search Plugin

Lostlink – 404 Monitor & Smart Redirects Wordpress Plugin - Rating, Reviews, Demo & Download

Lostlink – 404 Monitor & Smart Redirects Preview Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

Every 404 on your site is a lost visitor, and links from other sites that lead nowhere. Lostlink shows which broken URLs matter most, suggests the page to send them to, and creates the redirect in one click.

Find every broken URL

  • Every 404 served by WordPress is recorded, aggregated per URL: total, daily and weekly hits, first and last seen, and a 14-day history.
  • The referers linking to each broken URL show where the broken links are.
  • Variants of a URL (case, trailing slash, query string) count as one.
  • Missing images, CSS, JS and fonts are left out by default, and exclusion patterns (paths, globs or regular expressions) keep the bot noise out.
  • 404 pages served by a page cache, without running WordPress, are counted too.

Know what to fix first

The dashboard (Tools > Lostlink) ranks the broken URLs by priority, Critical, High, Medium or Low, from how often and how recently they are hit, with a 14-day trend chart. Search, sorting, bulk actions and CSV export included. The thresholds are settings.

Fix in one click

  • For each broken URL, Lostlink suggests the published content whose address is closest, including posts whose slug moved to another path: “Use”, then “Fix”.
  • Redirects are 301 by default (302, 307 and 308 available), and keep the query string of the request, so campaign parameters survive.
  • Redirect loops are blocked; redirect chains and targets that are themselves broken are reported before you save.
  • A URL fixed by a redirect that returns a 404 again (its redirect was deleted or disabled) comes back on the dashboard.

Works with Redirection, or on its own

Lostlink creates its redirects in the Redirection plugin when it is set up, so you keep managing them in one place. Without it, Lostlink serves its own redirects, which only apply to URLs that return a 404: they can never hide an existing page.

Switching from Redirection’s 404 log? Import its history from the dashboard, without counting any hit twice.

Multilingual

On Polylang sites, broken URLs and redirects keep their language prefix, and the suggestions in the language of the broken URL come first.

Made to last

  • Storage is capped and purged every hour, so anonymous traffic and bots can’t grow the tables without limit.
  • Modern, strictly typed PHP 8.1 code, checked with PHPStan at its strictest level and the WordPress Coding Standards, and covered by over 150 automated tests.
  • Fully translatable.

For developers

WP-CLI commands:

  • wp lostlink list [--limit=<n>] [--format=<format>]: the broken URLs, most hit first.
  • wp lostlink referers <path>: the referers of a broken URL.
  • wp lostlink suggest <path> [--limit=<n>] [--min-score=<percent>]: the suggested targets.
  • wp lostlink import-redirection: imports the 404 log of the Redirection plugin.
  • wp lostlink maintenance: runs the hourly purge now.

Filters: lostlink_should_record (skip some 404s), lostlink_candidate_paths (add redirect targets), lostlink_path_language (language of a path, for multilingual plugins other than Polylang), lostlink_capability and lostlink_settings_capability (who can use the dashboard and change the settings).

Privacy

Lostlink stores, in its own tables, the path of each URL that returned a 404 (without its query string), the referers sent by the browsers, hit counts and dates, and for each redirect the ID of the user who created it. It stores no IP address, no user agent and no cookie, and sends nothing to any third-party service.

A referer is the address of the page a visitor came from, and can contain personal data in its query string: referers are deleted after 90 days without a hit, and capped per URL (both settings). Lostlink adds a suggested paragraph to the privacy policy guide (Settings > Privacy). Deleting the plugin removes all its data.

Screenshots

  1. The dashboard: broken URLs ranked by priority, with their trend and referers.

    The dashboard: broken URLs ranked by priority, with their trend and referers.

  2. Fixing a broken URL: the suggested targets, and the redirect form.

    Fixing a broken URL: the suggested targets, and the redirect form.

  3. The built-in redirects.

    The built-in redirects.

  4. The settings.

    The settings.


Reviews & Comments