AyyazTech

How to remove index.php from codeigniter in UBUNTU?

2 days ago

This tutorial will show you that how to remove index.php from codeigniter in UBUNTU or how to enable url rewriting.

Step 1 :

Add this in htaccess file

1Loading...

Step 2 :

Remove index.php in codeigniter config

1Loading...

Step 3 :

Allow overriding htaccess in Apache Configuration (Command)

1Loading...

and edit the file & change to

1Loading...

for www folder

Step 4 :

Enabled apache mod rewrite (Command)

1Loading...

Step 5 :

Restart Apache (Command)

1Loading...

Source