As you might know, the URL for codeigniter is build like this. In my case, I have:
http://example.com/subfolder/class/function/ID
Is there a way with codeigniter (or htaccess) to create this url in a much shorter url like this:
http://example.com/ID
Kind regards, Senne
In the
application/configs/routes.phpfile, you should be able to add something like this:You can read more about custom routing here: http://codeigniter.com/user_guide/general/routing.html