elimination of the index.php [Problem solved] |
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
French citizen (please excuse me for my english )
Having a good knowledge of the PHP but novice with CodeIgniter I use CodeIgniter 3
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> What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Problem solved thank you
French citizen (please excuse me for my english )
Having a good knowledge of the PHP but novice with CodeIgniter I use CodeIgniter 3 |
Welcome Guest, Not a member yet? Register Sign In |