legacy_urls

git.splent.io/splent-io/splent_feature_legacy_urls

v0.2.1 full platform

About

Permanent redirects (301, 308) and gone answers (410) for the addresses a hub used to answer, imported from rows of path, target, status and ref, answered where the hub would answer 404, with an administrators' list

Provides

Models
LegacyUrl
Services
LegacyUrlService
Routes
/admin/legacy-urls
Translations
es

Commands

  • $ splent feature:legacy_urls import SOURCE [OPTIONS]

    Import the old addresses of a file: path, target, status and ref.

Run them in your workspace once the feature is installed in the selected product.

Dependencies

No hard dependencies.

In product lines

Extension points

Templates
legacy_urls/admin/urls.htmllegacy_urls/gone.html
Services
LegacyUrlService
Models
LegacyUrl
Routes
A refinement can add routes to its blueprint

Other features fill its hook slots. A refinement can override its templates and services or extend its models without forking it.

Compatibility

Python
>=3.13
SPLENT framework
>=1.30.0