Search by

uams-web / aether-redirects

joshdaughertybpmore

Redirect rules for Statamic: a redirects global set served on the 404 path, rules on redirect domains, an edge redirect manifest, and a marketing-redirect request and approval workflow.

Package info

github.com/UAMS-Web/aether-redirects

Type:statamic-addon

pkg:composer/uams-web/aether-redirects

Statistics

Installs: 36 433

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 4

v0.6.1 2026-12-03 04:46 UTC

README

A Statamic add-on for redirect rules: a redirects global set answered on the site's 404 path, rules served on redirect domains, an edge redirect manifest built from those rules, and a Control Panel workflow for requesting and approving marketing redirects.

The wiki covers setting up a site, requesting and approving redirects, the redirect rules, permissions, configuration and commands.

Requirements

PHP 8.4 or later, Statamic 6.40 or later, and uams-web/aether-shared 0.3 or later, which Composer installs with the add-on.

Installation

composer require uams-web/aether-redirects

Statamic discovers the add-on through Composer. To change its settings, publish the config file:

php artisan vendor:publish --tag=aether-redirects-config

Host patch requirement

The add-on serves the entry blueprints of the redirect_domains and redirect_hosts collections from its own resources/collection-blueprints directory, under the collections.<handle> namespace. Statamic resolves a collection blueprint from an add-on directory only with the statamic-blueprint-namespace-slash patch from uams-web/patches-statamic-cms. A host without the patch fails when it reads either collection's blueprints, with Undefined array key 0.

cweagans/composer-patches applies a patch only from the root package, so the host registers it. Require the package, list the patch in the host's own patches.json or extra.patches, then run composer patches-relock and composer patches-repatch:

composer require --dev uams-web/patches-statamic-cms

The collections themselves stay with the host, as does the code that writes them. Deleting the host's own copies of the two blueprints is the host's change.

Renamed from statamic-redirects

This add-on was uams-web/statamic-redirects; that package is abandoned in favor of uams-web/aether-redirects. A site that required the old package changes the following:

  • Run composer remove uams-web/statamic-redirects and composer require uams-web/aether-redirects.
  • Code that references the PHP namespace changes UAMSWeb\Redirects to UAMSWeb\Aether\Redirects.
  • The config file is config/aether-redirects.php and its publish tag is aether-redirects-config. A published config/statamic-redirects.php is renamed to match; the add-on handle and permissions follow the package name, so re-save any settings and role permissions stored under the old handle.
  • Published assets move to public/vendor/aether-redirects; run php artisan vendor:publish --tag=aether-redirects --force and delete public/vendor/statamic-redirects.

Environment variables, view namespaces and Artisan commands keep their names.

License

MIT. See LICENSE.

Documentation