Skip to content

[Feature]: Direct to homepage when switching version and the page doesn't exist #2672

@HaoboGu

Description

@HaoboGu

What problem does this feature solve?

When switching version, it's quite common that a page doesn't exist in the target version, this leads to 404 in current rspress version.

What does the proposed API look like?

It's more reasonable to redirect to homepage in the target version when switching versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions