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

(This post was last modified: 10-16-2019, 07:32 PM by Chivinsdev.)

Based on your issue. I had the same problem look. I created two .htaccess file one at the public folder and the other at the root directory but no success so.
This is how I solved my own problem =>
I move the default .htaccess and the index.php files in the public directory to the root directory then I edit the index file to point to the app directory just like the code below
PHP Code:
// Location of the Paths config file.
// This is the line that might need to be changed, depending on your folder structure.
$pathsPath FCPATH '../app/Config/Paths.php';
// ^^^ Change this if you move your application folder 
to this below
PHP Code:
// Location of the Paths config file.
// This is the line that might need to be changed, depending on your folder structure.
$pathsPath FCPATH './app/Config/Paths.php';
// ^^^ Change this if you move your application folder 
I hope this will help you and others who are also facing the same issue
Reply


Messages In This Thread
RE: How to remove public/index.php/ from url - by Chivinsdev - 10-16-2019, 09:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB