GK Questions for SBI PO, CAT, RRB, Clerk, NDA, RBI Assistant, SSC, CGL, PSC and other Competitive Examinations.
Remove Index.php From Url in Bonfire
The document given in http://ellislab.com/codeigniter/user-guide/general/urls.html for removing "index.php" from the URL in codeigniter framework needs some correction in case of Bonfire framework.
So follow these steps for removing the "index.php" in Bonfire.
Create an .htaccess file in the root of Bonfire installation and add the following code it it.
# Apache for "Don't look at me."
Options -Indexes
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
Save and open any link without index.php. However you will also have to change the links in your application so that they are without "index.php".