Codeigniter No input file specified error for inside pages

If you are getting no input file specified error for inside pages in Codeigniter, this is the issue with htaccess redirection you have to replace your root htacces file with below code. if you look on the code you can see a question mark after the index.php (index.php?/$1) .This .htacces making the correct URL redirection in Codeigniter


RewriteEngine On
# Disable directory browsing 
#Options -Indexes
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]  

My Thought

Your email address will not be published. Required fields are marked *

Our Tool : hike percentage calculator