Welcome Guest, Not a member yet? Register   Sign In
Remove index.php
#1

Hi, how to remove index.php from URL?  Huh
Reply
Reply
#3

That page isn't too informative yet.  However, after reading that page,

In the below file:

PHP Code:
application/Config/App.php 


PHP Code:
Change:
public 
$indexPage 'index.php';

to 

public $indexPage ''
also make sure to set:
PHP Code:
public $baseURL ''

while you're at it.
it's the same procedure when removing index.php from CI3, just a different file.
Reply
#4

Removing index.php is an htaccess problem, no?
Reply
#5

It is, but the page didn't completely answer the OP's question.

That's why I added more info after "However, after reading that page,"... to imply that page had important information he needs too.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB