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

Bugfix: canonical url now use current_frontend_locale instead of defa… #3299

Merged
merged 1 commit into from
Jul 17, 2017

Conversation

bricesanchez
Copy link
Member

…ult_frontend_locale

According to google and Yoast: https://yoast.com/rel-canonical/

@parndt
Copy link
Member

parndt commented Jul 9, 2017

So now this will always point to the current URL?

@bricesanchez
Copy link
Member Author

Yes, like in our blog posts engine. If we want to target other languages, we should use hreflang instead : https://yoast.com/hreflang-ultimate-guide/

@bricesanchez bricesanchez self-assigned this Jul 17, 2017
@bricesanchez bricesanchez merged commit eb4a3e0 into master Jul 17, 2017
@bricesanchez bricesanchez deleted the bugfix/canonical branch July 17, 2017 14:34
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.

2 participants