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

Make Redirects Editable #41

Open
davidsword opened this issue Dec 6, 2018 · 2 comments
Open

Make Redirects Editable #41

davidsword opened this issue Dec 6, 2018 · 2 comments

Comments

@davidsword
Copy link

Currently to change a URL, the Redirect has to be deleted and then re-added.

The ability to edit a redirect would improve ease of use.

@bdtech
Copy link
Contributor

bdtech commented May 23, 2019

@davidsword Thinking this through the default behavior should replace/update the existing redirect.

For example, if you used the CLI to "insert-redirect" or "import_from_csv", this would automatically account for any change of destination URL (currently an error would kick out saying it exists already). The UI would also allow editing the URL as well.

Sound good? Are there any additional considerations?

@GaryJones
Copy link
Contributor

May want to take a look at the last two commits from https://github.com/Automattic/WPCOM-Legacy-Redirector/commits/feature/delete-update-bulk-redirects

Also, look at --skip-validation flag.

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

3 participants