My url used to be something like
http://example.com/index.php/class/function/id
I created .htaccess and adjusted config file, now that the index.php is out of sight on every load. I would like to also hide “class” so that my url may only look shorter i.e http://example.com/function/id. I want this because sometimes my class name is not beautiful, I don’t want it to be there, thank you…..
You know you can rewrite just the class name with htaccess, right?
Otherwise you will have to specify the particular route per URI in the routes config…