You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the new update to v4.4.0, on a multi-language setup, a set of custom routes lead to an ERR_TOO_MANY_REDIRECTS error, thus breaking the site.
Expected behavior
We have two routes, one that checks for the grid-popup template of the opened page, and redirects from /LANG/SLUG to /LANG/popup/SLUG to avoid confusion with other page’s slugs. The second route then returns the page with the desired url. (We’re using swup with the fragment plugin to add this popup page as an overlay above the current page).
Create the blueprints for the popups (content doesn’t matter) and create example pages right in the root of the content folder (and create the translations, without translating the slugs in other languages)
On the home page, create a link pointing to /LANG/popup/SLUG of one of the popups just created
If clicked, “Too many redirects” error should occur
Your setup
Kirby Version
v4.4.0
Your system (please complete the following information)
Device: MacBook Pro 2021 (M1 Pro)
OS: MacOS 15.0
Browser: Any (Chrome, Safari, Firefox)
Version: Any
Additional context
Everything worked fine before updating to v4.4.0, so I figured this will have something to do with the changes made in #6601.
The text was updated successfully, but these errors were encountered:
We have a patch release ready that will be released on Monday. You can already give it a try by pulling or downloading https://github.com/getkirby/kirby/tree/release/4.4.1 Please, let us know if the issue has not been fixed by this patch.
Description
With the new update to
v4.4.0
, on a multi-language setup, a set of custom routes lead to anERR_TOO_MANY_REDIRECTS
error, thus breaking the site.Expected behavior
We have two routes, one that checks for the
grid-popup
template of the opened page, and redirects from/LANG/SLUG
to/LANG/popup/SLUG
to avoid confusion with other page’s slugs. The second route then returns the page with the desired url. (We’re using swup with the fragment plugin to add this popup page as an overlay above the current page).To reproduce
content
folder (and create the translations, without translating the slugs in other languages)/LANG/popup/SLUG
of one of the popups just createdYour setup
Kirby Version
v4.4.0
Your system (please complete the following information)
Additional context
Everything worked fine before updating to
v4.4.0
, so I figured this will have something to do with the changes made in #6601.The text was updated successfully, but these errors were encountered: