This posting is older than 6 months and can contain outdated information.
heh, I figured it out. The existing links have clshop_id=4 and while everything else in the URL is redirected correctly, it doesn't change that value. Tweaking it to clshop_id=8 fixed the link:
https://secure.iospirit.com/support/forums/remotebuddy/thread/13495?&clshop_id=8
Can you fix the redirect script to update that value as well? :)
I also worked out the problem with your search links; they are generated incorrectly. They have two /index.php entries in the URL:
https://secure.iospirit.com/index.php?mode=view&obj_type=forum&obj_id=11&clshop_id=8/index.php?&clshop_id=8&o_infogroup_objcode=infogroup-29&o1_infogroup_objcode=forumgroup-6&o2_forumgroup_mode=view&o2_forumgroup_forum_id=11&o3_forum_dmode=view&o3_forum_submode=threaded&o3_forum_forumentry_id=14173
Deleting "/index.php?mode=view&obj_type=forum&obj_id=11&clshop_id=8" fixes the link:
https://secure.iospirit.com/index.php?&clshop_id=8&o_infogroup_objcode=infogroup-29&o1_infogroup_objcode=forumgroup-6&o2_forumgroup_mode=view&o2_forumgroup_forum_id=11&o3_forum_dmode=view&o3_forum_submode=threaded&o3_forum_forumentry_id=14173