![]() |
SEO optimized/translated urls with language segment - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: SEO optimized/translated urls with language segment (/showthread.php?tid=26685) |
SEO optimized/translated urls with language segment - El Forum - 01-20-2010 [eluser]MV[/eluser] Hi, I finally managed to deal with routing and url but encountered a bit of a doubt: - When dealing with urls like these: www.site.com/pt/portuguese_word_here/other_word www.site.com/en/english_word_here/other_word 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: www.site.com/pt/1/34/65 www.site.com/en/7/2/... 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.? Thanks. SEO optimized/translated urls with language segment - El Forum - 01-20-2010 [eluser]fesweb[/eluser] 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. www.site.com/pt/1/34/65/portugese-word-here/other-portugese-word/ www.site.com/en/1/34/65/english-word-here/other-english-word/ Your controller could completely ignore everything after the numbers. |