Skip to content

Instantly share code, notes, and snippets.

@kieranbarker
Created October 18, 2020 15:39
Embed
What would you like to do?
Redirect Jekyll post format to Eleventy post format
[[redirects]]
from = "/:year/:month/:date/:slug"
to = "/blog/:slug"
status = 301
force = true
@kieranbarker
Copy link
Author

This should go inside your netlify.toml file.

https://docs.netlify.com/configure-builds/file-based-configuration/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment