I'm trying to figure out a mod_rewrite rule to redirect from the following URL:
/archives/collections/archon/index.php?p=collections/controlcard&id=450
to this:
/archives/collections/archon/index.php?p=collections/findingaid&id=450
The id parameter would not be static.
Thanks for any help.
Current contents of .htaccess:
RewriteEngine On
Options +FollowSymlinks
RewriteCond %{QUERY_STRING} ^p=collections/controlcard&id=([0-9]+)$
RewriteRule ^index.php$ index.php?p=collections/controlcard&id=%1 [R=301,L]