No longer maintained
March 23, 2023 ยท View on GitHub
This is no longer maintained, code is archived and available for forking though.
metalsmith-alias 
Create aliases for a pages with automatic redirection.
alias:
- alternate-name
- other/url
- somepage/that/used/to/be/here.html
Usage
const alias = require('metalsmith-alias');
Metalsmith()
// Other plugins and configuration
.use(alias({netlify: true}))
// More plugins and configuration
Options:
netlify: Whether a Netlify_redirectsfile should be created (defaultfalse).
Changelog
0.2.0: Use forced redirects to avoid shadowing.0.1.2: Don't overwrite existing_redirects.0.1.1: Generate extra redirects withoutindex.html.0.1.0: Add ability to create_redirectsfile for Netlify.0.0.3: Usepathmember if set on the file object.
Alternatives
- metalsmith-redirect: Setup site-wide redirects