This project contains the demo for netlify-plugin-redirects.
With this plugin installed, a _redirects
file will be generated from CSV and will contain contents such as the following...
/ample https://ample.co 301!
/members-only/* /members-only/:splat 200! Role=user
/profile /profile 200! Role=user
This is helpful if you need to deploy redirects based on environment or deployment context. You can see an example of the build output here.