Closed jennybc closed 5 years ago
This piece of Netlify's redirect documentation seems potentially useful:
https://www.netlify.com/docs/redirects/#placeholders
You can use placeholders in the origin and target paths:
/news/:year/:month/:date/:slug /blog/:year/:month/:date/:slug
This would redirect a URL like /news/2004/02/12/my-story to /blog/2004/02/12/my-story
/news/2004/02/12/my-story
/blog/2004/02/12/my-story
I don't immediately see an application of this, so I'll close. But just an FYI @gracelawley @apreshill.
This piece of Netlify's redirect documentation seems potentially useful:
https://www.netlify.com/docs/redirects/#placeholders