How to remove public/index.php from the URL |
(12-22-2020, 07:54 AM)t_5810 Wrote: And I have to find a solution that will work on all hosts, since I use CodeIgniter in all my projects, so I need to find a way around this obstacle, which will not compromise the security of the website - app. It's better to have most of the code outside the root folder, but if your host gives you no other choice, I'm sure you can make it work with everything in your public folder. Before CI4, a lot of people didn't bothered to move the application and system folders outside the root. You'll have to edit index.php so it can find your app folder: PHP Code: <?php
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/ |
Messages In This Thread |
How to remove public/index.php from the URL - by t_5810 - 12-19-2020, 03:08 AM
RE: How to remove public/index.php from the URL - by InsiteFX - 12-19-2020, 01:42 PM
RE: How to remove public/index.php from the URL - by t_5810 - 12-21-2020, 01:22 AM
RE: How to remove public/index.php from the URL - by includebeer - 12-21-2020, 06:19 AM
RE: How to remove public/index.php from the URL - by t_5810 - 12-22-2020, 07:54 AM
RE: How to remove public/index.php from the URL - by includebeer - 12-22-2020, 05:25 PM
RE: How to remove public/index.php from the URL - by InsiteFX - 12-22-2020, 12:01 PM
|