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 in CodeIgniter 4?
How to remove index php from my URL?
How to remove php from URL in core php?
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/
Feb 16, 2016 · Move all files from public folder to the root (using older site structure). · Edit root index.php and set $path = “.”; · Rename 1.htaccess to .
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/
May 19, 2021 · I changed in App.php public $indexPage = 'index.php';. To public $indexPage = '';. and public $uriProtocol = 'PATH_INFO';. and in .htaccess
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/
Mar 20, 2015 · Open config.php and do following replaces $config['index_page'] = "index.php". to $config['index_page'] = "". Just replace
In order to show you the most relevant results, we have omitted some entries very similar to the 8 already displayed.
If you like, you can repeat the search with the omitted results included. |