Digital Sovereignty for everyone

Changelog

  • 0.2.1: Tidy-up after the first plugin check. The legacy importer no longer passes suppress_filters to get_posts(), which already defaults to it, so the VIP check stops flagging it; behaviour is unchanged. Adds the languages/ directory named by the Domain Path header.
  • 0.2.0: First working release, replacing LH Response Handler. Redirect and 410 Gone rules for every host on the network live in one table on the main site ({base_prefix}lh_url_redirects), keyed on host and path, so rules also work for domains no site is mapped to (for example an old club domain bounced to the main site’s signup page). A rule fires only when its source would otherwise 404, before WordPress’s own URL guessing, or at the root of an unmapped domain. Matching ignores scheme, port, query string, host case and trailing slashes, and decodes the path; an exact rule beats any prefix rule, and the longest prefix wins. Codes 301, 302, 303, 307, 308 and 410 are supported, and redirects may point at any domain. A 410 keeps the theme’s 404 page but sends the Gone status. Each rule counts its hits and last hit. Rules are managed through MCP abilities on the main site (install_plugins): list-redirects, get-redirect, create-redirect, update-redirect, delete-redirect, resolve-url (which rule a URL would hit) and import-legacy-redirects, which copies LH Response Handler’s published rules across, dry run by default and safe to rerun. There is no settings screen. The table is created on network activation and versioned by its own schema version.
  • 0.1.0: Initial scaffold.

If you like this plugin please consider making a donation to further development

Install LHero.org

lhero.org

Open it straight from your home screen, full screen and quicker to load.

  1. Tap the Share button . If you cannot see it, tap ••• first.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add.
  1. Tap the browser menu â‹®.
  2. Tap Install app or Add to Home screen.
  1. In the menu bar, choose File, then Add to Dock.

Use your browser's menu to install this site or add it to your home screen.