Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to log changed slugs and redirect on 404 #13

Open
wernerkrauss opened this issue Jul 2, 2020 · 0 comments
Open

Possibility to log changed slugs and redirect on 404 #13

wernerkrauss opened this issue Jul 2, 2020 · 0 comments

Comments

@wernerkrauss
Copy link
Contributor

If a slug changes automatically, the link to the old page results in a 404, as the old slug is forgotten.

How about logging changed links to an extra dataobject (old link, new link) and hook in "onBeforeHTTPError404" like "OldPageRedirector" does?

This might be tricky for nested slugs. (e.g. /products//)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant