![]() |
CI Unique URL in Google - 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: CI Unique URL in Google (/showthread.php?tid=24862) |
CI Unique URL in Google - El Forum - 11-22-2009 [eluser]CI Coder[/eluser] Hey guys, I'm currently working on an application that will be translated in a few languages -- 3 to start with. My problem is that my client wants that each page be indexed in Google with its own unique URL in such a way that the English version of page X has a different URL than the Spanish version of the same page. The way I have it set up now, the URL's look like http://www.domain.com/controller/function. The language can be changed via POST from a drop-down menu on the page, but the URL remains the same for all languages. I know there are quite a few options here, but I would like to see if there is a best one since this is my first time dealing with this issue in CI. Any ideas greatly appreciated. Thanks, CI Coder CI Unique URL in Google - El Forum - 11-22-2009 [eluser]juanchorossi[/eluser] You might just redirect each domain with a 301 redirection policy in .htaccess. Just google how it works, I think this should be fine. Any another ideas are welcome! CI Unique URL in Google - El Forum - 11-22-2009 [eluser]wiredesignz[/eluser] Try the URI Language Identifier. (see my signature) CI Unique URL in Google - El Forum - 11-23-2009 [eluser]CI Coder[/eluser] [quote author="wiredesignz" date="1258970560"]Try the URI Language Identifier. (see my signature)[/quote] Thanks, that's exactly what I need. |