Problem with removing Index.php from URL |
06-17-2016, 12:47 PM
(This post was last modified: 06-17-2016, 12:55 PM by behrooz1x. Edit Reason: complete )
You needs three steps:
1-Create htaccess file in the root ci folder(i attach my .htaccess). 2-Change the 'RewriteBase /' in httaccess, for exmaple if your site in url is 'http://localhost/ci/index.php/welcome' you need change that to 'RewriteBase /ci/'. 3-remove 'index.php' from 'application/config/config.php': //this $config['index_page'] = 'index.php'; ///to $config['index_page'] = ''; |
Messages In This Thread |
Problem with removing Index.php from URL - by Fuerro - 06-16-2016, 02:06 AM
RE: Problem with removing Index.php from URL - by InsiteFX - 06-16-2016, 04:51 AM
RE: Problem with removing Index.php from URL - by sgh370 - 06-17-2016, 04:02 AM
RE: Problem with removing Index.php from URL - by Fuerro - 06-17-2016, 04:15 AM
RE: Problem with removing Index.php from URL - by behrooz1x - 06-17-2016, 12:47 PM
RE: Problem with removing Index.php from URL - by Fuerro - 06-23-2016, 11:28 PM
RE: Problem with removing Index.php from URL - by PaulD - 06-24-2016, 12:10 AM
RE: Problem with removing Index.php from URL - by Fuerro - 06-24-2016, 12:50 AM
RE: Problem with removing Index.php from URL - by PaulD - 06-24-2016, 12:57 AM
RE: Problem with removing Index.php from URL - by Fuerro - 06-24-2016, 01:19 AM
|