Skip to content

Weglot: English URL returns 404, resolving to a renamed German slug #4188

@benique

Description

@benique

When accessing the English version of a page, a 404 error is returned even though the URL remains unchanged in the browser:
Expected URL: https:///en/offers/
Browser displays: https:///en/offers/
404 log shows: /angebote/

It appears Weglot is internally resolving the English URL to /angebote/, which was the old German slug before the page was renamed. The renamed slug is no longer valid, causing the 404.
Steps to reproduce:

Notes:
The /angebote/ slug was the previous German translation of this page before it was renamed
The 404 log does not contain an entry for /en/offers/, making the issue difficult to trace without checking Weglot's internal URL mapping

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions