Welcome Guest, Not a member yet? Register   Sign In
Call default controller + default method
#1

[eluser]enigmas[/eluser]
Hi guys, could you please help me to fix one problem.

I'm trying to make new site with CodeIgniter, but wanna to save links compatibility with the older site.

Now, when I open a page of the site written with CodeIgniter, I have to enter following url:
Code:
http://mysite.com/index.php/controller/method/parameter1/parameter2
But is it possible to remove "index.php/controller/method" from this link?

There is no problem to remove "index.php" from url, but maybe there is some way to remove controller and method from the url? Maybe somehow set default controller + default method in CodeIgniter?

Finally I want to open the page just with similar url:
Code:
http://mysite.com/parameter1/parameter2

Is it possible?


Messages In This Thread
Call default controller + default method - by El Forum - 01-04-2011, 05:14 AM
Call default controller + default method - by El Forum - 01-04-2011, 05:48 AM
Call default controller + default method - by El Forum - 01-04-2011, 05:54 AM
Call default controller + default method - by El Forum - 01-04-2011, 06:06 AM
Call default controller + default method - by El Forum - 01-06-2011, 06:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB