elimination of the index.php [Problem solved] - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: elimination of the index.php [Problem solved] (/showthread.php?tid=67336) |
elimination of the index.php [Problem solved] - alf78fr - 02-11-2017 Hello, I followed not badly of tutorial for the configuration but in my URL I always have the index.php present. here my file .htacess PHP Code: RewriteEngine On here my file config.php PHP Code: $config['base_url'] = "http://www.leleu-nom.fr"; and the example of a URL : http://www.leleu-nom.fr/index.php/homepage/curriculum thank you for your assistance RE: elimination of the index.php - InsiteFX - 02-11-2017 For one you are missing the ending forward slash on your base url. PHP Code: $config['base_url'] = "http://www.leleu-nom.fr/"; You may also need to change the URI Protocol in config.php PHP Code: $config['uri_protocol'] = 'REQUEST_URI'; // or try the others. .htaccess file there are many to try, make sure that it is on and working. google CodeIgniter remove index.php not working I use this one which is from FuelPHP because it always works for me. Code: <IfModule mod_rewrite.c> RE: elimination of the index.php - alf78fr - 02-12-2017 Problem solved thank you |