Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routing and Auto Redirects problem #5

Open
luizboaretto opened this issue Mar 2, 2020 · 1 comment
Open

Routing and Auto Redirects problem #5

luizboaretto opened this issue Mar 2, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@luizboaretto
Copy link

luizboaretto commented Mar 2, 2020

Hello!

If I have:
en: /blog/{year}/{slug}
es: /es/blog/{year}/{slug}

After change slug, works. But, If I change only the date ({year}), it does not work.

@wanze wanze self-assigned this Mar 12, 2020
@wanze wanze added the enhancement New feature or request label Mar 12, 2020
@wanze
Copy link
Contributor

wanze commented Mar 12, 2020

Hi @luizboaretto,

Thanks for reporting this! You are right: It seems that the module currently only checks for changed slugs. It should check the whole URL.

There are currently some issues in Statamic regarding localized slugs: They are not updated in the Stache: statamic/v2-hub#2113
We'll look into it, but it could be possible that we cannot add this feature without a fix of the mentioned issue.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants