We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
These should take precedence over hardcoded rules since they were explicitly made. For instance, if appending, you might have this
/articles/* /articles-in-german/:splat 301 /articles/english-slug /articles-in-german/german-slug 301
Then, if a user went to https://domain.com/articles/english-slug, they would be redirected to https://domain.com/articles-in-german/english-slug, which would 404.
If prepending, then you end up with:
/articles/english-slug /articles-in-german/german-slug 301 /articles/* /articles-in-german/:splat 301
And then user would be redirected to https://domain.com/articles-in-german/german-slug
The text was updated successfully, but these errors were encountered:
No branches or pull requests
These should take precedence over hardcoded rules since they were explicitly made. For instance, if appending, you might have this
Then, if a user went to https://domain.com/articles/english-slug, they would be redirected to https://domain.com/articles-in-german/english-slug, which would 404.
If prepending, then you end up with:
And then user would be redirected to https://domain.com/articles-in-german/german-slug
The text was updated successfully, but these errors were encountered: