Routing without index.php |
Hello
I am trying to have a route like http://website/all I put this in my routes: $route['all'] = "index/all"; //controller / function And it says in the specs that this should route me to website/all but is not doing that. That route is actually working with an index.php like website/index.php/all So how do I get rid of the index.php pls?
@alext,
Here is documentation that should help you ( https://www.codeigniter.com/userguide3/g...x-php-file ).
Thanks php_rocs.
Will this be ok for images and other sutff? I remember zend had something like this but they had a list of files that should not go there.
Actually I just found out on server we have ngingx so is ok they will fix it
![]() Thanks! |
Welcome Guest, Not a member yet? Register Sign In |