Welcome Guest, Not a member yet? Register   Sign In
how to remove index.php in my URL
#2

(This post was last modified: 09-03-2015, 03:17 AM by freddy. Edit Reason: change code )

here is is mine

Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]


then goes to your config/config.php

find

Code:
$config['index_page'] = 'index.php';

change to be
Code:
$config['index_page'] = '';
Reply


Messages In This Thread
how to remove index.php in my URL - by nady - 09-03-2015, 02:46 AM
RE: how to remove index.php in my URL - by freddy - 09-03-2015, 03:16 AM
RE: how to remove index.php in my URL - by nady - 09-03-2015, 06:34 AM
RE: how to remove index.php in my URL - by PaulD - 09-03-2015, 06:42 AM
RE: how to remove index.php in my URL - by CroNiX - 09-03-2015, 09:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB