CodeIgniter – No input file selected on Godaddy,.htaccess

I recently launched a new website on GoDaddy hosting. The website required mod_rewrite for SEO-friendly URLs. The website was Developed using CodeIgniter (PHP Framework).

The web application worked very well in development environment but it generated the error “No Input File Specified” when I uploaded it to GoDaddy Web Hosting.

htaccess Before

htaccess After

After Changing htaccess also, if you encounter the same problem try below things , append ? to index_page config value, and change URI protocol to QUERY_STRING.

I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.