-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
Migrate Cloudflare redirects from UI configuration to using _redirects
file
#161
Comments
This is cool, thanks Ben. We'll work on this as soon as possible. |
Hello! Can you please provide details about the existing redirects? |
Let me share them with you in a DM. Are you ok with working on this? |
Yes Sure! I have sent you a DM on Slack. |
@prajjwalyd I just sent you a DM with the details of the redirects. |
We merged #406 but the redirect didn't worked Well need to review this behaviour. |
@benjagm can you provide some more details on why it didn't work? |
I't seemed a problem with the slack redirect only. Basically, in the recording I shared that redirect rule was not using URI Paths what made it confusing to translate to the plain _redirects file. I did some changes and tests and now it seems to work. Huge thanks @prajjwalyd |
Currently redirects are configured through the Cloudflare admin area for redirect rules.
Given we are using Cloudflare pages, we can specifiy redirects using a Cloudflare Pages function, a
_redirects
file.Ideally, we should use a file in the repo over admin area configuration where possible.
Documentation: https://developers.cloudflare.com/pages/platform/redirects
The text was updated successfully, but these errors were encountered: