Mobile app version of vmapp.org
Login or Join
Alves908

: Internationalization using subfolders I'm internationalizing a Rails application using their standard i18n gem. I've set it up so that the language appears as a subfolder in the URL, ex. www.mysite.com/en,

@Alves908

Posted in: #Internationalization #RubyOnRails #Seo

I'm internationalizing a Rails application using their standard i18n gem. I've set it up so that the language appears as a subfolder in the URL, ex. mysite.com/en, mysite.com/zh, mysite.com/en/pages ...

My concern is that the link 'juice' attributed to the pre-internationalization site, mysite.com/pages, is going to be diluted by the insertion of the language into the URL, mysite.com/en/pages.
Is this the case?

How do I mitigate this?

The site owner would like to see all of the English site URLs remain as is and that the country subfolder, /zh/, only be present for the new language version.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Alves908

1 Comments

Sorted by latest first Latest Oldest Best

 

@Welton855

You can do either -- leave English without a language code, or redirect the English pages to be under /en/. Language is handled on a per-URL basis, you can set it up however you want, it can even be via querystring parameter.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme