gridonic / statamic-redirects

Manage URL redirects intuitively, discover and fix 404's automagically, improve your SEO dramatically
https://statamic.com/marketplace/addons/redirects
1 stars 1 forks source link

Routing and Auto Redirects problem #5

Open luizboaretto opened 4 years ago

luizboaretto commented 4 years ago

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 commented 4 years ago

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: https://github.com/statamic/v2-hub/issues/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