Question: how to remove index php from url in codeigniter without htaccess?
Answer: HTTP request to your website directed to index.php.
index.php load codeigniter bootstrap and call codeigniter router.
router look up the url typed (welcome/index) then go fetch the file welcome from inside controller folder and call index function.