Posted inphp / Codeigniter / Laravel

Resolving the CodeIgniter “No Input File Specified” Error

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.

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]  

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.

I am Jaydeep Gondaliya , a software engineer, the founder and the person running Pakainfo. I'm a full-stack developer, entrepreneur and owner of Pakainfo.com. I live in India and I love to write tutorials and tips that can help to other artisan, a Passionate Blogger, who love to share the informative content on PHP, JavaScript, jQuery, Laravel, CodeIgniter, VueJS, AngularJS and Bootstrap from the early stage.

Leave a Reply

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

We accept paid guest Posting on our Site : Guest Post Chat with Us On Skype