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

Option to add redirects to --save-old-urls #142

Open
koentjeh opened this issue Nov 30, 2020 · 1 comment
Open

Option to add redirects to --save-old-urls #142

koentjeh opened this issue Nov 30, 2020 · 1 comment

Comments

@koentjeh
Copy link

Summary

Right now the modules enables to keep old url rewrites. For url consistency it would be helpful to have the ability to redirect old urls to the newly generated 'consistent' urls.

It would be nice if copied incorrect urls would still redirect to the correct url. So copied links on external websites, emails, etc would still work.

Basic example

An added option to --save-old-urls that would add a redirect from the old urls to the new urls.

@koentjeh koentjeh changed the title Option to add redirects instead to --save-old-urls Option to add redirect to --save-old-urls Nov 30, 2020
@koentjeh koentjeh changed the title Option to add redirect to --save-old-urls Option to add redirects to --save-old-urls Nov 30, 2020
@jwellvaping
Copy link

Hey @koentjeh, this kind of looks like the same issue i had before, maby this also helps in your situation. Please check out this thread where i explain my solution :)
#53

Please try in a test-environment first!

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

No branches or pull requests

2 participants