Hi!
I’ve tried configuring redirects via both a _redirects and netlify.toml file, but the redirects from /cs/* to /casestudies/:splat don’t appear to be working. For example, https://zero-in.netlify.app/**cs**/shake-shack/ should be redirecting to https://zero-in.netlify.app/**casestudies**/shake-shack/.
The _redirects file is appearing in the the root of my dist folder on build and according to the deploy summary the rules are being processed:
Here are the rules as defined in netlify.toml:
[[redirects]]
from = "/cs/*"
to = "/casestudies/:splat"
status = 301
force = true
[[redirects]]
from = "/cs/*/"
to = "/casestudies/:splat/"
status = 301
force = true
And here’s the _redirects config:
/cs/*/ /casestudies/:splat/ 301
/cs/* /casestudies/:splat/ 301
/cs/shake-shack /casestudies/shake-shack 301
Thanks for taking a look!
-Zack