Skip to content

ample/netlify-plugin-redirects-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

netlify-plugin-redirects-demo

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.

Deploy to Netlify