Question about URI/URL's |
[eluser]Rost[/eluser]
Hello, I have a question about the URI Class and how you can use it. The only way I could use it was like: www.domain.com/pages/page/1 But I want it like : www.domain.com/pages/1 Is this possible and if so, can you explain me how? Regards RoSt
[eluser]designfellow[/eluser]
Hi, you can use uri routing to create custom redirections. Add the below line to "config/routes.php" $route['pages/(:any)']="pages/page/$1"; try this &post;back. Happy Coding, DesignFellow
|
Welcome Guest, Not a member yet? Register Sign In |