Closed llrs closed 2 years ago
This is if I change the permalinks on config.toml
For intance if I change
[permalinks]
- post = "/:year/:month/:day/:slug/"
+ post = "post/:year/:month/:day/:slug/"
I will need to add an alias for all the posts, which currently do not display on baseURL/post/....
I could also use _redirects
but that might be Netlify-specific, not that I plan to change, but if they charge or I decide to change it can become a problem
Might be not needed as the .html files of the bundles are not fully documents so I might be able to edit the header and add the aliases to each post when/if I change the permalink.
t might be not needed to redirect I was already using. I added a few more to account for the change on the permalink of posts
To fix reported missing pages (and in case I ever change things again) I need to add aliases on the posts: https://kevingimbel.de/blog/2020/01/hugo-aliases-and-redirects/
Official documentation
Apparently they cannot be done generally for in a single file for all missing/moving pages