osbuild / osbuild/osbuild.github.io
Redirect old urls to the new locations
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5
- Forks
- 22
- Avg merge
- 34m
- Merged PRs (30d)
- 2
Description
All search results are now broken with the new Docusaurus based site :/
Docusaurus seems to have rudimentary support for redirects, but after trying various things I have only been able to get it to redirect a directory. It won't redirect .html pages. The plugin is here:
https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-client-redirects
and I've tried plain redirects and using the createRedirects function with no success. It seems to want to create a directory named for the from path and drop an index.html file inside of that instead of just writing it to the file.
Redirecting just the directories isn't very helpful since the old pages were all named with .html extensions.
Their recommended solution is to use server side redirects, but AFAIK that isn't available with github pages.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Docusaurus client-redirects plugin documentation and inspect the repository's redirect configuration, if present; the payload names no file or test. Verify that the chosen approach preserves old .html search-result URLs on GitHub Pages and redirects them to the new locations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100