You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the Netlify _redirects file is being edited directly from the Hugo-generated public directory. It should not be setup in that way.
Instead move the file to static/_redirects.
Later we can consider switching to using Hugo aliases, and eventually an implementation of Hugo aliases via Netlify redirects as has been done elsewhere, such as open-telemetry/opentelemetry.io#781.
chalin
changed the title
Redirects: don't version control files under the auto-generated public directory
[redirects] Don't version control files under the auto-generated public directory
Jul 11, 2024
Currently the Netlify
_redirects
file is being edited directly from the Hugo-generatedpublic
directory. It should not be setup in that way.Instead move the file to
static/_redirects
.Later we can consider switching to using Hugo aliases, and eventually an implementation of Hugo aliases via Netlify redirects as has been done elsewhere, such as open-telemetry/opentelemetry.io#781.
Waiting for the following to be merged first:
The text was updated successfully, but these errors were encountered: