Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[redirects] Don't version control files under the auto-generated public directory #43

Closed
2 tasks done
Tracked by #41
chalin opened this issue Jun 27, 2024 · 1 comment · Fixed by #51
Closed
2 tasks done
Tracked by #41

[redirects] Don't version control files under the auto-generated public directory #43

chalin opened this issue Jun 27, 2024 · 1 comment · Fixed by #51

Comments

@chalin
Copy link
Collaborator

chalin commented Jun 27, 2024

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.

Waiting for the following to be merged first:

@chalin 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
@lukpueh
Copy link
Member

lukpueh commented Jul 17, 2024

@chalin, this should be unblocked now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants