splat


Today I learned: A splat redirect uses a wildcard (*) to match everything after a path and pass it to a new destination using :splat.

I wanted to redirect all my posts from /writing/ to /blog/, so I added the following snippet to my Netlify _redirects:

/writing/* /blog/:splat

< back