URL hiding in codeigniter |
[eluser]Unknown[/eluser]
How can hide file extension in URL in codeigniter. Thanks in advance.
[eluser]natefons[/eluser]
if im not mistaken theres a config option to add extensions to files.
[eluser]ELRafael[/eluser]
[quote author="natefons" date="1282946977"]if im not mistaken theres a config option to add extensions to files.[/quote] no, you aren't wrong :lol: ./system/application/config.php Code: $config['url_suffix'] = ".html"; CI comes without extension. You'll need to change this value. You can put anything inside that, ".html", ".aspx", ".wtf", ".etc" If you are talking about www.tld.com/index.php/controller_name/method_name, I suggest to look about .htacess. User guide : http://ellislab.com/codeigniter/user-gui.../urls.html |
Welcome Guest, Not a member yet? Register Sign In |