I lately upgraded a Joomla installation to at least one.7. Because of this the connecting product is now different. My client includes a Expensive banner with specific links within the Expensive with no accessibility original .fla for editing.

What I must do is rewrite the linked URL in the banner as to the the content id is.

I've the next during my .htaccess but it is not redirecting, I recieve a 404 error.

RewriteEngine on
RewriteRule ^index.php?option=com_content&view=article&id=25$ index.php?option=com_content&task=view&id=25&Itemid=59 [L]

Thanks! I appreciate any help.

You cannot match query_strings in RewriteRule, make use of the % variable inside a RewriteCond, such as this:

RewriteEngine on
RewriteCond %{QUERY_STRING} ^option=com_content&view=article&id=25$
RewriteRule ^index.php$ index.php?option=com_content&task=view&id=25&Itemid=59 [L]