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

Dear All
i don't want to show index.php in URL.
how can i call my controller without calling index.php.
for example
i want call my controller like ...

http://localhost/CodeIgniter-3.0.0/HomeController

instead of

http://localhost/CodeIgniter-3.0.0/index...Controller


somebody give following .htaccess file but it's not working. it shows 500 internal error.

------------.htaccess---------------

RewriteEngine on
RewriteCond %(REQUEST_FILENAME)  !-f
RewriteCond %(REQUEST_FILENAME)  !-d
RewriteRule .* index.php/$0 [PT,L]
----------------------------------

looking forward
Thanks in advance
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