jayson.barino@yahoo.com
Hello!!!
I have a problem with SEF url in PHP
I want url like
www.domain.com/index/user/username
actual url
www.domain.com/index.php?user=xyz
and my .htaccess file is
<files ~ "^\.ht">
Order allow,deny
Deny from all
</files>
<IfModule mod_rewrite.c>
RewriteBase /
<Files site>
ForceType application/x-httpd-php
</Files>
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^localhost
RewriteCond $1 !^GUI/
RewriteRule ^(.*)$ /office/GUI/$1 [L]
RewriteRule index/(.*)/(.*)/$ /index.php?$1=$2 [P]
</IfModule>
but i am getting redirected by typing this url in
www.domain.com/index/user/username
Can you please let me know where i have done mistake.
Thanks in advance
Sang