• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Homepage with no Controller in URL?

Sorry but basically I'm a noob.

How do you get it so on the homepage of your site it just has the domain in the url and not the 'home' controller or whatever you call it.

for example this site or tek-9. When you go to the homepage it's codeigniter.com/ whereas on my site it would be example.com/site or whatever I name the controller.


Omg i'm so stupid, my bad :3

You use the routing config to hide the controler name in the url.


$route['default_controller'] = 'home';

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.