I want to set all civicrm Thankyou page to redirect to another page in Drupal 7.50 site.
CiviCRM version is 4.6.8
Can I add a URL direct(In drupal) for the Thankyou page which has a dynamic URL.
Any suggestion on this?
CiviCRM Stack Exchange is a question and answer site for administrators and users of the CiviCRM Constituent Relationship Management software. It only takes a minute to sign up.Sign up to join this community
This is not supported by CiviCRM by default and i cant find any drupal modules which can do the redirect from the thank you page.
If you are a developer, you can do this using hook_civicrm_buildForm hook.
We have done something similar to redirect from thank you page using buildForm hook. I have packaged the hook in an extension. You can download the extension here - https://github.com/rajeshrhino/uk.co.vedaconsulting.module.contributionpagesredirect
Before installing the extension, you need to edit main PHP file (Line no.6 - https://github.com/rajeshrhino/uk.co.vedaconsulting.module.contributionpagesredirect/blob/master/contributionpagesredirect.php#L6) and change the redirect URL to the URL in your site.
Hope this helps.
Since all the thank you pages have the same url (from Drupal's point of view), using Drupal's redirect module https://www.drupal.org/project/redirect should work.
You may find this Fuzion extension may help with what you require. "Options added are 1) ability to choose an alternate thank you page instead of standard CiviCRM landing page"
EDIT: this mostly provides a field for where to send users. If you want this for 'all' your contribution pages, then you would have to retro-fill those.