almost 10 years ago
If you want to remove index.php file path form url in codeignitor then please follow below steps
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php/$0 [PT,L]
$config['base_url'] = ''; to $config['base_url'] = 'http://localhost/CodeIgniter'; $config['index_page'] = 'index.php'; to $config['index_page'] = '';
Now go to address bar of your browser and remove index.php then run and it work definitely.
http://localhost/CodeIgniter/index.php/news to http://localhost/CodeIgniter/news
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Comment(s)