How to remove public/index.php/ from url |
https://bcit-ci.github.io/CodeIgniter4/g...x-php-file
If xxx/controller doesn't work, but xxx/index.php/controller does, then your htaccess is not working. Could be rewrite_module not loaded, or wrong permissions. If xxx/controller doesn't work, but xxx/public/controller does, then your document root is set incorrectly inside apache. If you have to resort to xxx/public/anything, then your document root is set incorrectly! |
Welcome Guest, Not a member yet? Register Sign In |