jumph4x/canonical-rails

Multi-language friendly?

Closed this issue · 2 comments

Hey,
i'm not a SEO expert but i think this gem is not multi-language ready, right?
I mean, in a site with pages and url in different languages www.example.com/page should not be the canonical of www.example.com/it/page.
For Google this would mean to index only the base language version, and that's not what you want in this context.

I solved my problem using url_for() and some other tricks.

Glad you got it figured out :)