Tag: shared hosting

  • Codeigniter 4 – How to remove public/index.php from URL?

    Codeigniter 4 – How to remove public/index.php from URL?

    I have seen many blog posts and forum discussions answers this question with a quick fix by coping the index.php and .htaccess to the root level and change the “$pathsPath” variable. This will definitely remove the index.php from URLs. However, Codeigniter 4 use this folder structure for security reasons. The “public” folder holds the browser-accessible…