Welcome Guest, Not a member yet? Register   Sign In
Change the routing
#1

[eluser]Dennis_gull[/eluser]
I'm interested in changing the routing for my project, this is what I want it to look like:

<company>.example.com/class/method/params

so I guess I use my .htaccess to change the subdomain to something like this:

example.com/<company>/class/method/params

But I can't figure out how to tell CI to skip the first param before initializing the class.
#2

[eluser]toopay[/eluser]
This thread may give you an idea. Also, you can play with CI Proxy Library (look at my signature) and see if it match with your needs Wink




Theme © iAndrew 2016 - Forum software by © MyBB