CodeIgniter Forums
default language - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: default language (/showthread.php?tid=82069)



default language - cigiyuzu - 06-08-2022

Hi, what is best practice for remove default language local from url like this:
Code:
    domain.com/article/hello  <--- for default language example : en

    domain.com/fr/article/hello  <--- for french language example : fr

    domain.com/tr/article/hello  <--- for turkey language example : tr

    domain.com/jp/article/hello  <--- for japan language example : jp



RE: default language - includebeer - 06-08-2022

The best practice is to not remove it. Why would you? It's better to have different urls for different content.