This site demonstrates using a Netlify edge function to add or strip trailing slashes and strip .html

For usage, see GitHub

These should all redirect to the slashless version

These should all redirect to the version with a slash

Photo by Jeremy Hynes on Unsplash