[eluser]andyscraven[/eluser]
I am having a weird issue with routing as follows when I try and go to the homepage of a domain. All other paths work fine.
$route['default_controller'] = "Home";
$route['404_override'] = '';
The Controller is called Home.php.
works fine on MAMP but when I copy it across to my server I get a weird page from Cloudflare saying:
The page you are looking for cannot be found.
If I put:
$route['404_override'] = 'Home';
it goes to my home page fine. I am wanting to send all unknown urls to a 404 page.
On MAMP it works exactly as it should with the 404_override empty.
Any ideas?
Thanks everyone.