Trying to remove index.php from url in latest codeigniter 4.5.1 |
(05-03-2024, 05:31 AM)demyr Wrote: Another way : Go to Public folder, move (or copy) htaccess and index.php to the main app folder. Then in your main app/index.php find the line 34 and change the path like The virtualhost is pointing (as recommended in user_guide) to the public folder, so moving/copying the index.php and .htaccess from public to app/ didn't work (05-08-2024, 02:56 AM)elbambolo Wrote: If you want to open a page likeĀ http://sw/services With or without "/" didn't work I've finally solved it by getting the appStarter again working from scratch in another folder/virtualhost Then moved to the non-working application all the files, mainly the ones from app/Config and again overwriting everything from /vendor/codeigniter4/framework/app/Config Don't know which file from app/Config was making conflict, but maybe I've touched or edited something that didn't make it work Thanks 2 everyone
Enrique
https://beza.com.ar |
Messages In This Thread |
Trying to remove index.php from url in latest codeigniter 4.5.1 - by kabeza - 05-02-2024, 08:57 AM
RE: Trying to remove index.php from url in latest codeigniter 4.5.1 - by Bosborne - 05-02-2024, 09:44 AM
RE: Trying to remove index.php from url in latest codeigniter 4.5.1 - by luckmoshy - 05-02-2024, 03:51 PM
RE: Trying to remove index.php from url in latest codeigniter 4.5.1 - by kenjis - 05-02-2024, 05:18 PM
RE: Trying to remove index.php from url in latest codeigniter 4.5.1 - by kabeza - 05-03-2024, 04:43 AM
RE: Trying to remove index.php from url in latest codeigniter 4.5.1 - by demyr - 05-03-2024, 05:31 AM
RE: Trying to remove index.php from url in latest codeigniter 4.5.1 - by kabeza - 05-08-2024, 04:13 AM
RE: Trying to remove index.php from url in latest codeigniter 4.5.1 - by elbambolo - 05-08-2024, 02:56 AM
|