Skip to content

Redirect old urls to the new locations #18

@bcl

Description

@bcl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions