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

Links to pages do not work due to server returning index.html instead of assets #273

Closed
justinwoo opened this issue Jul 25, 2022 · 6 comments
Labels

Comments

@justinwoo
Copy link
Member

Links like https://nix.dev/en/latest/faq.html#how-do-i-fix-error-current-nix-store-schema-is-version-10-but-i-only-support-7 give you problems:

image

@fricklerhandwerk
Copy link
Collaborator

Is it about the /latest part? Where do you find such links?

@justinwoo
Copy link
Member Author

you find these links on nix discourse and other sources that are attempting to correctly deep link into nix.dev so that people can read content. note that this bug also makes bookmarks of nix.dev useless.

@JeremiahSecrist
Copy link
Contributor

I've done testing and it seems that any invalid link behaves in this manner. So I can glean that one part of this issue is 404.html is not functioning on top of improper links being made. As to improper links being made I need to see a recent even of this to track it down. Specifically a reproducible way to generate bad links off the site via interacting with it.

@amad3us47
Copy link

the bug is in /en/latest directory
where is the file location in the github repo files?

@willbush
Copy link
Member

Seems like this can be closed? I'm getting a proper 404 page.

@fricklerhandwerk
Copy link
Collaborator

The issue itself seems to be obsolete now, but that URL should not 404 but redirect to https://nix.dev/guides/troubleshooting#how-to-fix-error-current-nix-store-schema-is-version-10-but-i-only-support-7

We still need #740

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

No branches or pull requests

5 participants