disableAlises = true in hugo.toml? #1382
-
|
Hello all, I was trying to create an alias on my site, couldn't figure out why it wasn't working but then saw that aliases are disabled by default. Are there any disadvantages/bugs introduced if I do enable them on my Doks site? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
No, you can safely enable this setting and use the functionality. Know though that Hugo uses a client-side redirect — see how aliases work. Instead, I recommend using server side redirects—see e.g. Netlify's Redirects and rewrites—it's much faster (from a user perspective) and easier to maintain (centrally in one place). |
Beta Was this translation helpful? Give feedback.
No, you can safely enable this setting and use the functionality.
Know though that Hugo uses a client-side redirect — see how aliases work. Instead, I recommend using server side redirects—see e.g. Netlify's Redirects and rewrites—it's much faster (from a user perspective) and easier to maintain (centrally in one place).