Resolving the CodeIgniter “No Input File Specified” Error

0
()

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

Codeigniter No input file specified error for inside

Error: the error “No Input File Specified” when visiting any page other than the homepage.

Read Also:  Get Gravatar Image Using PHP Example

The Solution : Update On Your .htacces File

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

Free Live Chat for Any Issue
Download

I hope you get an idea about no input file specified. codeigniter.
I would like to have feedback on my infinityknow.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Read Also:  Laravel Ajax Bootstrap Toggle switch Update MySQL

How useful was this post?

Click on a star to rate it!