Provide configurable redirect capability #39

Closed
opened 2023-07-28 23:33:17 +00:00 by danieljsummers · 1 comment
danieljsummers commented 2023-07-28 23:33:17 +00:00 (Migrated from github.com)

When deployed by default, the application is dependent on configuration placed in front of it to handle rewrites/redirects. While myWebLog supports this in the form of "previous URLs" for posts and pages, long-running sites may need to redirect URLs that do not resolve to current posts or pages. A container (#38) provides even less of an opportunity to configure these outside the application.

Create a rudimentary redirect function that provides a matching string (either plain-text match or regular expression) and a new URL (verbatim or with capture group replacements for regular expressions). Any matches should be redirected permanently.

When deployed by default, the application is dependent on configuration placed in front of it to handle rewrites/redirects. While myWebLog supports this in the form of "previous URLs" for posts and pages, long-running sites may need to redirect URLs that do not resolve to current posts or pages. A container (#38) provides even less of an opportunity to configure these outside the application. Create a rudimentary redirect function that provides a matching string (either plain-text match or regular expression) and a new URL (verbatim or with capture group replacements for regular expressions). Any matches should be redirected permanently.
danieljsummers commented 2023-08-01 01:36:18 +00:00 (Migrated from github.com)

This will land in 2.1

This will land in 2.1
Sign in to join this conversation.
No description provided.