Welcome Guest, Not a member yet? Register   Sign In
CI 4 remove index.php
#3

You can try the steps here : Stackoverflow

The answer says:

Step 1: In public/ directory, copy index.php and .htaccess to your root project directory.
Step 2: In the root project directory, open index.php and edit the following line:
   
             index.php -> $pathsPath = FCPATH . '../app/Config/Paths.php';
to
            index.php => $pathsPath = FCPATH . 'app/Config/Paths.php';
Reply


Messages In This Thread
CI 4 remove index.php - by nurgaleevarman - 12-07-2020, 01:38 AM
RE: CI 4 remove index.php - by captain-sensible - 12-07-2020, 01:21 PM
RE: CI 4 remove index.php - by demyr - 12-08-2020, 02:16 AM
RE: CI 4 remove index.php - by nurgaleevarman - 12-28-2020, 09:44 PM
RE: CI 4 remove index.php - by paliz - 12-08-2020, 09:29 AM
RE: CI 4 remove index.php - by InsiteFX - 12-29-2020, 12:29 PM
RE: CI 4 remove index.php - by thinkstartpl - 01-26-2021, 11:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB