mod_rewrite or URLManager

I’m working on a new integration with Joomla and want to edit the URL parameters.

My goal is this. I want to add “?option=com_jumi&fileid=3” to the url of everything on the yii site. I’m sure I can do this with mod_rewrite with a little playing, but I wanted to know if this is easier done with URL Manager?

I ended up just doing it through mod_rewrite with the code below.




RewriteCond %{QUERY_STRING} (.*)r=(.*) [NC]

RewriteCond %{QUERY_STRING} !(.*)r=(.*)&option=com_jumi&fileid=3 [NC]

RewriteRule ^(.*)$ /index.php?r=%2&option=com_jumi&fileid=3 [NC,L,R=301]