Welcome Guest, Not a member yet? Register   Sign In
SEO optimized/translated urls with language segment


I finally managed to deal with routing and url but encountered a bit of a doubt:

- When dealing with urls like these:


where the first segment is obviously the language, is it common to translate the following segments of the url? Is it advisable?

or should i just consider some generic urls like:


Is there a common practice? Advices?

I am assuming, out of probable ignorance that urls themselves could be "search engine food", meaning they could help to make the site noticed by crawlers, etc.?


Using generic urls, works easily but you don't have to give-up the "search engine food" either.

This is redundant, but it would allow simpler code in your controllers, and still satisfy the search engines in multiple languages.

Your controller could completely ignore everything after the numbers.

Theme © iAndrew 2016 - Forum software by © MyBB