Created
October 18, 2020 15:39
-
-
Save kieranbarker/92bb78c702bfcbd9106b09ba83b8ac83 to your computer and use it in GitHub Desktop.
Redirect Jekyll post format to Eleventy post format
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[redirects]] | |
from = "/:year/:month/:date/:slug" | |
to = "/blog/:slug" | |
status = 301 | |
force = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This should go inside your
netlify.toml
file.https://docs.netlify.com/configure-builds/file-based-configuration/