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

Check page slug and locale #568

Merged
merged 1 commit into from Jul 31, 2018
Merged

Check page slug and locale #568

merged 1 commit into from Jul 31, 2018

Conversation

ChristianGiupponi
Copy link
Contributor

This check if the request page match the locale and the slug. If do not match just do a 301 redirect so the user can see the correct page and the correct url, good for seo purpose.
Should fix: #567

…ot match just do a 301 redirect so the user can see the correct page and the correct url, good for seo purpose.
@nWidart
Copy link
Member

nWidart commented Jul 31, 2018

Very nice, thank you for the contribution! 👍

@nWidart nWidart merged commit adbca71 into AsgardCms:3.0 Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Page change language do not chenge the url slug
3 participants