I'm trying to redirect this... http://www.wfmc.org/administrator/components/com_civicrm/civicrm/extern/url.php?u=878&qid=3686395 -- Where '&qid=3686395' varies from link to link. How can I redirect everything that looks like this 'http://www.wfmc.org/administrator/components/com_civicrm/civicrm/extern/url.php?u=878' where it will take care of everything after the 878 to another website.
|
feedback
|
|
I'm assuming your apache is configured to serve 'www.wfmc.org'. In your vhost or .htaccess file (assuming you have Options FileInfo allowed for your domain's documentroot): RewriteRule ^administrator/components/com_civicrm/civicrm/extern/url.php?u=878(.*) http://someURL/someFile?$1 [L] that should work. | |||||||
feedback
|