Welcome Guest, Not a member yet? Register   Sign In
htaccess problem to remove index.php on urls
#1

[eluser]virginboy[/eluser]
i know this had been asked many times. i've also red the forums on htaccess but i still dont get it to work.

my problem is i want to remove index.php i mean dont want it to be visible in urls on my site.

i want to change this link
Code:
<a href = "index.php/page_content/">Page Contents</a>

to
Code:
<a href = "page_content/">Page Contents</a>

because everytime i keep using
Code:
<a href = "index.php/page_content/">Page Contents</a>
the index.php is displayed on the url

im using a virtual host on apache
and an xampp on windows xp
i.e local.domain.com

config.php
$config['index_page'] = "";
$config['uri_protocol'] = "AUTO";



.htaccess file

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>


Messages In This Thread
htaccess problem to remove index.php on urls - by El Forum - 03-21-2009, 09:15 PM
htaccess problem to remove index.php on urls - by El Forum - 03-21-2009, 10:45 PM
htaccess problem to remove index.php on urls - by El Forum - 03-21-2009, 10:50 PM
htaccess problem to remove index.php on urls - by El Forum - 03-21-2009, 11:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB