Skip to content

Search result URLs return 404 on Windows due to case sensitivity #62

@sudhirmanglasvam

Description

@sudhirmanglasvam

On Windows, search result URLs return a 404 error if filenames have case differences.

I fixed this by modifying src\layouts\helpers\SearchResult.tsx, adding .toLowerCase() to ensure consistent URL casing:

href={/${item.slug.toLowerCase()}}

Please consider implementing this fix for better Windows compatibility.

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