Welcome Guest, Not a member yet? Register   Sign In
SImple URL Rewrite
#2

[eluser]greedyman[/eluser]
1, Assuming that you have a router like this $route['(:any)'] = "user/category/$1"; the function category of user controller will get automatic $1 variable as a parameter. You don't need use $_GET.
2, All you need are remove index.php from url, create a new route $route['about'] = "user/about"; and use $config['url_suffix'] = 'html'; in config.php to create .html in your url.

Please see User Guide before!


Messages In This Thread
SImple URL Rewrite - by El Forum - 06-10-2013, 01:27 PM
SImple URL Rewrite - by El Forum - 06-10-2013, 07:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB