egorig
08-09-2011, 03:20 AM
My links follow this pattern:
http://localhost/subject/view/?id=1
and it should be processed like this by index.php
http://localhost/index.php?request=subject/view&id=1
Any help how to set the .htaccess file
I already did this:
Options +FollowSymLinks All -Indexes
RewriteEngine On
RewriteRule (.*)/$ index.php?request=$0
but I don't know how to send the parameters (id=1)
Thanks in advance.
http://localhost/subject/view/?id=1
and it should be processed like this by index.php
http://localhost/index.php?request=subject/view&id=1
Any help how to set the .htaccess file
I already did this:
Options +FollowSymLinks All -Indexes
RewriteEngine On
RewriteRule (.*)/$ index.php?request=$0
but I don't know how to send the parameters (id=1)
Thanks in advance.