1

i want to add default language code after index.php while loading page.if i change the language, lamguage code should be replaced.for example it i have default language code as en my url like

http://localhost/test/index.php/en

when i change my language as tamil and the the language code should be replaced as tm instead of en.now my url like below

http://localhost/test/index.php/tm

even i have changed my base url like below the language code will not be added automatically with index.php

$config['index_page']                       = 'index.php/en';
vivek
  • 383
  • 2
  • 23
  • you can view this link for your problem URL : https://stackoverflow.com/questions/2823831/codeigniter-multilanguage-and-adding-the-language-to-the-url-for-seo – NikuNj Rathod Aug 31 '17 at 11:25

0 Answers0