Welcome Guest, Not a member yet? Register   Sign In
[Solved] "index.php" not removed from auto-generated URLs.
#1

[eluser]Unknown[/eluser]
I'm using the .HTACCESS example from the user guide to remove the "index.php" from URLs, and that works fine. However, CI-generated URLs such as form actions and anchor tags still include the "index.php". How do I fix this up?
#2

[eluser]danmontgomery[/eluser]
./application/config/config.php

Code:
/*
|--------------------------------------------------------------------------
| Index File
|--------------------------------------------------------------------------
|
| Typically this will be your index.php file, unless you've renamed it to
| something else. If you are using mod_rewrite to remove the page set this
| variable so that it is blank.
|
*/
$config['index_page'] = "";
#3

[eluser]Unknown[/eluser]
Can't believe I overlooked that. Thanks for the help!




Theme © iAndrew 2016 - Forum software by © MyBB