Skip to content

Locale home page produces 404 with query parameters #2207

@andjsch

Description

@andjsch

Bug Description

I do have a multisite setup with two locales. Weirdly enough, if a query parameter is added to the home page of an locale (not the root/default locale though) an error 404 is produced. Query parameters do work on every other page though. It's just the home page of a locale different from the default one.

How to Reproduce

  • Create a site with two locales, each do have a home page. The home page of the second locale originates from the home page of the default locale
  • Optionally, create 1 more page on every locale to confirm that this issue only happens on the home page
  • Open the home page of the first locale with some query parameter like ?example=working -> the page should render es expected
  • Open the home page of the second locale with some query parameter like ?example=not+working -> error 404

Extra Detail

This does happen for me locally as well as on my server. I have a second multisite which does have the same problem.
image

Environment

Laravel Valet

Statamic version: 3.0.0.-beta-43

PHP version: 7.4

Install method (choose one):

  • Fresh install from statamic/statamic

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