tags:

views:

75

answers:

1

Hi; I create a .htaccess file with these lines:

Options +FollowSymLinks
RewriteEngine On

RewriteRule index/locale/(.*)/id/(.*)/ index.php?locale=$1&id=$2
RewriteRule index/locale/(.*)/id/(.*) index.php?locale=$1&id=$2

I expect that it works with this call:

http://localhost/test/index.php/locale/tr/id/14

But it doesn't work. Please help... What is wrong. I copied all these codes from very famous online seo friendly code generator. Best regards.

+2  A: 

did you try http://localhost/test/index/locale/tr/id/14 ?

it seems that the regexp is expecting "index" and not "index.php"

Jonathan
Thanks too much Jonathan... You are super... Best regards.
if it is the answer, please, mark it as answer by clicking below the number on the left. =]
Jonathan