quantcdn / wordpress

Wordpress integration for QuantCDN
0 stars 1 forks source link

Redirection plugin: Optionally generate redirects without trailing slashes #17

Closed stooit closed 1 year ago

stooit commented 1 year ago

The queue generator for the redirection plugin will retrieve redirects "as-is", which generally appear to have trailing slashes on the source URL: https://github.com/quantcdn/wordpress/blob/develop/plugins/quant/src/seed/RedirectionBatch.php

We should optionally allow for this process to strip the trailing slash to keep redirects clean and URLs aligned to the process already in place for content routes.

stooit commented 1 year ago

This is enforced in #18 as consistent content routes are required for redirect monitoring to function as expected.