Jan 22, 2018 · Go to app/Config/App.php and find public $indexPage = 'index.php'; . Remove index.php from this public variable and that's it.
People also ask
How to remove index.php from URL?
How to remove CodeIgniter index in php?
How to remove public from CodeIgniter 4 URL?
How to remove index.php in Linux?
Jan 31, 2023 · The only thing you need to do is setting this variable public $indexPage = '';. You don't need to change anything in other files.
Missing: 48376090/ | Show results with:48376090/
Oct 4, 2013 · Try the following. Open config.php and do following replaces $config['index_page'] = "index.php". to $config['index_page'] = "".
Missing: 48376090/ | Show results with:48376090/
Jun 15, 2023 · If you want to omit the public from your URL, you can configure your web server to point to the public directory instead of the project root.
Mar 11, 2021 · So the actual url for the CI4 installation is test.mysite.com/project/public/index.php . I want to remove the public/index.php portion from the ...
Missing: 48376090/ | Show results with:48376090/
May 19, 2021 · I changed in App.php public $indexPage = 'index.php';. To public $indexPage = '';. and public $uriProtocol = 'PATH_INFO';. and in .htaccess
Jan 5, 2014 · I'm new to CodeIgniter and I'm trying to figure out why the standard methods that I have seen both on the codeigniter site and here on SO aren't ...
Feb 11, 2020 · I used the default .htaccess to remove index.php from url and it's working but I don't have access to /public/assets. How can I fix this?
Missing: 48376090/ | Show results with:48376090/