Welcome Guest, Not a member yet? Register   Sign In
getting rid of useless URI segments
#1

[eluser]timaksu[/eluser]
hi guys. right now i have a class called category, and the "index" function of it displays posts from category with the ID in the 3rd segment of the URI. so i was looking to create something like this:

http://www.url.com/category/1

but to access it, i need to do this:

http://www.url.com/index.php/category/index/1

those indexs arent very nice... any way i can get rid of them?
#2

[eluser]Phil Sturgeon[/eluser]
You can do this using URI Routing.




Theme © iAndrew 2016 - Forum software by © MyBB