0

If i ignore index.php from my url the control not passing to the controller correctly. How to avoid the index.php from the url's.

ex:http://localhost/index.php/home/display

Thanks,

1 Answer 1

1

You need to set up mod_rewrite in your apache (via config or .htaccess). Then all request will be redirected to correct controllers/actions without having to add index.php in the URL. This should help you set your server correctly.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.