I have a Grocery CRUD application that runs perfectly on my old site on Bluehost, but not on the new one, also a shared Bluehost server, although a different Linux distro (Red Hat). It works fine if I use the index.php, but not if I try to remove it in config.php and use .htaccess, it throws 404 errors.
The old site is using PHP V 5.6.37, CodeIgnitor V 3.1.6 and GC V 1.6.2
The new site is using PHP V 7.0.33. CodeIgnitor V 3.1.10 and GC V 1.6.2
.htaccess (The same on both sites and CodeIgnitor is installed in the same directory and path, public_html/Codeignitor)