Remove index.php from codeigniter app url in godaddy shared hosting

Removing index.php in Codeigniter application url in godaddy shared hosting server
Create the .htaccess file under root of application directory

RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index.php|robots.txt)
RewriteRule ^(.*)$ index.php?/$1 [L]

If you are getting “no input file specified” ( codeigniter / wordpress )

  • Login to godaddy account
  • Goto hosting
  • Under settings frame select file extension management

Settings frame in godaddy hosting

  • Here you will find this “.php PHP 5.2.x FastCGI”

settings

  • click on edit button change it to “.php PHP 5.2.x”
  • no need to change for .php5, .php4

Thats it

 

2 Comments

  1. I am genuinely happy to glance at this webpage posts which includes
    tons of helpful facts, thanks for providing these data.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from

Subscribe now to keep reading and get access to the full archive.

Continue reading