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

Preserve params in Redirect #5533

Closed
jochenberger opened this issue Sep 18, 2017 · 1 comment
Closed

Preserve params in Redirect #5533

jochenberger opened this issue Sep 18, 2017 · 1 comment

Comments

@jochenberger
Copy link
Contributor

I'm trying to use Redirect to migrate to a new URL schema. For example I have a page to edit contacts. The old URL was /contactedit/:id and the new one is /contacts/:id.

<Redirect from="/contactedit/:id?" exact to="/contacts/:id" />

does not work because :id is not extrapolated in to.
See also #1034 (comment).

@timdorr
Copy link
Member

timdorr commented Sep 18, 2017

Duplicate of #5209 (which could use some love)

@timdorr timdorr closed this as completed Sep 18, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants