first page without controller |
[eluser]Mitja B.[/eluser]
Is it possible to make first page without controller that url will be just http://www.domain.com and not http://www.domain.com/controller
[eluser]xwero[/eluser]
This is what the default controller is for. http://www.domain.com is the same as http://www.domain.com/default_controller/index.
[eluser]TheFuzzy0ne[/eluser]
You will need to ensure your default controller has been set correctly in ./system/application/config/config.php. Here's what mine looks like: Code: $config['default_controller'] = "homepage"; My default controller is called 'homepage', which means that the router looks for a file named "homepage.php" if no controller is specified. If you are wanting index.php to be your default controller, then you'll need to set you default controller to "index". |
Welcome Guest, Not a member yet? Register Sign In |