Codeigniter 4 – Removing “public” and “index.php” with Example
Codeigniter 4 - Removing "public" and "index.php" with Example Removing "public" from URL - Move the contents of the "public" folder to the root directory. - Update the base_url in app/Config/App.php to remove "public". Example: public $baseURL = '(link unavailable)'; - Update the index.php file to remove the "public" directory. Example: require __DIR__ . '/vendor/autoload.php';...