Welcome Guest, Not a member yet? Register   Sign In
How to remove public/index.php/ from url
#12

(This post was last modified: 10-09-2019, 05:14 AM by wdeda.)

It's very simple:

- keep the original .htaccess from the public folder

- copy .htacccess and index.php from public folder to the root of your project;

- edit the index.php and change the line below...

$pathsPath = FCPATH . '../app/Config/Paths.php';

to...

$pathsPath = FCPATH . 'app/Config/Paths.php';

That's it!
Reply


Messages In This Thread
RE: How to remove public/index.php/ from url - by wdeda - 10-09-2019, 05:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB