Welcome Guest, Not a member yet? Register   Sign In
first page without controller
#1

[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
#2

[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.
#3

[eluser]Mitja B.[/eluser]
Thx will try
#4

[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".




Theme © iAndrew 2016 - Forum software by © MyBB