Replies: 1 comment
-
I think this is better: https://github.com/orgs/fastn-stack/discussions/700. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sometimes we change URLs so want to redirect the user to new url from old url. Currently if we rename a ftd file, the existing URLs will break. So we should add alias feature to sitemap.
The
alias
keyAuthor can specify the
alias
key one or more times.Aliases Redirect
We return a permanent redirect from alias to the main URL.
fpm build
supportWhen using
fpm build
we generate static files, so we can not return custom HTTP responses. Maybe some special static hosts allow us to do that, and tomorrow when we have support for them, we will add that, but for now we will create ahello-world/index.html
andh/index.html
files with:Beta Was this translation helpful? Give feedback.
All reactions