-
Notifications
You must be signed in to change notification settings - Fork 237
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
Update redirect file #3047
Update redirect file #3047
Conversation
@archiewood The whitespace shouldn't have any affect. There isn't a redirect for |
Apologies, I added the wrong link: https://docs.evidence.dev/deployment/evidence-cloud/ There are also multiple other examples |
okay so @zachstence I think you are right that it is not whitespace. I think it must be trailing slash https://docs.evidence.dev/components/area-chart/ broken |
@archiewood Regex might be a good solution here For example: {
"redirects": [
{
"source": "^/a/?$",
"destination": "/b",
"permanent": true
}
]
} The So for https://docs.evidence.dev/components/area-chart it would look something like: {
"redirects": [
{
"source": "^/components/area-chart/?$",
"destination": "/components/charts/area-chart",
"permanent": true
}
]
} |
@zachstence I think I'm going to brute force this for simplicity |
Description
Some of our redirects appear to be failing on the docs site eg
https://docs.evidence.dev/deployment/evidence-cloud/
However others are working eg
https://docs.evidence.dev/markdown
I assume whitespace is the cupritThe alternative option is that it is trailing slashes
Checklist