Remove index.php and call default controller method when page loads |
[eluser]fiktionvt[/eluser]
I am kind of new to setting up a new page in codeigniter. say my page domain is www.example.com I have a controller called Site, with two methods index(), and home(). When I navigate to www.example.com I want it to call the Site.php controller. It can either call index() or home() it doesn't really matter but I want the url to either display www.example.com or www.example.com/home I know this is very basic but for some reason I can't find how to set this up. Right now when the page loads it somehow finds the Site controller and is calling the index function, I am not sure how it is doing that. Anyway if someone can tell me how to properly do this that would be great. Thanks for any help! -Fik |
Messages In This Thread |
Remove index.php and call default controller method when page loads - by El Forum - 08-19-2010, 03:57 PM
Remove index.php and call default controller method when page loads - by El Forum - 08-19-2010, 04:00 PM
Remove index.php and call default controller method when page loads - by El Forum - 08-19-2010, 04:20 PM
|