Forum Moderators: phranque
Thanks for the reply, here's one of the versions I tried with no luck:
Options +FollowSymlinks
Options +Indexes
RewriteEngine on
RewriteBase /
RewriteRule ^folder/(.*)$ http://www.example.com/folder/index.php?/$1 [L,R=301]
[edited by: jdMorgan at 6:37 pm (utc) on Dec. 22, 2007]
[edit reason] example.com [/edit]
For this reason, query strings are handled separately in mod_rewrite; You can use a RewriteCond to test and extract queery string data:
Options +FollowSymlinks +Indexes
RewriteEngine on
#
RewriteCond %{QUERY_STRING} ^/(.+)$
RewriteRule ^folder/index\.php$ http://www.example.com/folder/%1? [R=301,L]
Jim