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

Automatic redirect #189

Open
justin- opened this issue Jan 30, 2019 · 1 comment
Open

Automatic redirect #189

justin- opened this issue Jan 30, 2019 · 1 comment

Comments

@justin-
Copy link

justin- commented Jan 30, 2019

Is there a config option that will automatically redirect requests that don't match the localized path for the current locale? For example,

If someone on the :es/Spanish locale were to visit (dog_path or dog_en_path):
https://es.my-site.com/dog

The desired behavior would be to redirect them to (dog_es_path):
https://es.my-site.com/perro

This was previously requested in #66 but rejected.

@tagliala
Copy link
Collaborator

Hi,

this at the moment is still not possible.

The behaviour described at #66 (comment) is still valid

At the moment, I would suggest a redirect filter to deal with these edge cases

If someone manage to make a PR, I will be happy to review and consider merging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants