Skip to content

Issue with default path #487

Open
Open
@nesbtesh

Description

@nesbtesh

My project uses three language in the url as the default path, "/es/", "/en/", "/pt/" the first time you go into the application everything works fine because the request is done from the server but if you visit the website again without adding the lang (/es/) after the root domain it gives me 404 because the page doesn't exist.

Is there a way to create a rule that the start point is the language you last visited?

Example:
First request: If you visit: www.domain.com it will do a 302 to www.domain.com/es/
Second request: If you visit www.domain.com it will give me a 404 because the root doesn't exist and the request will go to the SW instead of the server

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @nesbtesh

        Issue actions

          Issue with default path · Issue #487 · NekR/offline-plugin