Title: Request for Multiple External ReDirects
Last modified: September 27, 2017

---

# Request for Multiple External ReDirects

 *  Resolved [Alan Nusbaum](https://wordpress.org/support/users/alan-nusbaum/)
 * (@alan-nusbaum)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/request-for-multiple-external-redirects/)
 * First off, thanks very much for having created this easy to use plugin. It works
   as designed. Can you in an upcoming version (soon) enable MULTIPLE redirects.
 * USE CASES
    When someone completes a form, not only do I want them redirected 
   to a Thanks page, but I also frequently want to serve them up MULTIPLE PDF’s 
   of software products we implement. I tried adding a <CR> after the first external
   reference but the <CR> saved the changes instead of adding a Line Fee. Is there
   a work around you can suggest? Please reply to [Alan@connectis.ca](https://wordpress.org/support/topic/request-for-multiple-external-redirects/Alan@connectis.ca?output_format=md)
   or [alannusbaum@hotmail.com](https://wordpress.org/support/topic/request-for-multiple-external-redirects/alannusbaum@hotmail.com?output_format=md)
   Thanks in advance

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/topic/request-for-multiple-external-redirects/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/request-for-multiple-external-redirects/page/2/?output_format=md)

 *  Plugin Contributor [Yuval](https://wordpress.org/support/users/yuvalsabar/)
 * (@yuvalsabar)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/request-for-multiple-external-redirects/#post-9536647)
 * Hi Alan,
 * In the next version we will add an option to add a script before redirection,
   so if you’ll add something like this: `window.location.href = 'path/file.pdf';`
   you’ll get your way, but what I think will work best for you is to add the same
   code, only in the page that to user is redirected to, and you can do it right
   now of course, because that right now related to the plugin.
    -  This reply was modified 8 years, 8 months ago by [Yuval](https://wordpress.org/support/users/yuvalsabar/).
    -  This reply was modified 8 years, 8 months ago by [Yuval](https://wordpress.org/support/users/yuvalsabar/).
    -  This reply was modified 8 years, 8 months ago by [Yuval](https://wordpress.org/support/users/yuvalsabar/).
 *  Plugin Contributor [Yuval](https://wordpress.org/support/users/yuvalsabar/)
 * (@yuvalsabar)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/request-for-multiple-external-redirects/#post-9536658)
 *  Thread Starter [Alan Nusbaum](https://wordpress.org/support/users/alan-nusbaum/)
 * (@alan-nusbaum)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/request-for-multiple-external-redirects/#post-9536982)
 * Yuval, when I select a redirect page to THANKS and add script to the external
   box
 * window.location.href = ‘[http://www.connectis.ca/v/babytel/d/babytel-t38-sip-trunking-product-sheet.pdf&#8217](http://www.connectis.ca/v/babytel/d/babytel-t38-sip-trunking-product-sheet.pdf&#8217);;
   window.location.href = ‘[http://www.connectis.ca/v/babytel/d/cryptagent-brochure.pdf&#8217](http://www.connectis.ca/v/babytel/d/cryptagent-brochure.pdf&#8217);;
 * I can’t save the Contact7 form and get the error “You Must Enter A Valid URL”
   
   The intention was to produce 3 tabs, Thanks + 2 more PDF datasheets. What should
   I do. Todah Rabah – Shanah Tovah
 *  [dharani](https://wordpress.org/support/users/dharanivadivelu/)
 * (@dharanivadivelu)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/request-for-multiple-external-redirects/#post-9537586)
 * Hi [@alan-nusbaum](https://wordpress.org/support/users/alan-nusbaum/)
    Do you
   able to redirect to atleast one pdf uploaded in WordPress(wp-content) using the
   external box. I need to redirect my page to the location where I uploaded my 
   pdf after my form submit. help me please. Thanks in advance.
 *  Plugin Contributor [Yuval](https://wordpress.org/support/users/yuvalsabar/)
 * (@yuvalsabar)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/request-for-multiple-external-redirects/#post-9537744)
 * [@alan-nusbaum](https://wordpress.org/support/users/alan-nusbaum/), like I said,
   you can do that easily by adding that script **in the page that the user is redirected
   to**. It’s not related to the Contact Form 7 forms, but to the thank you page.
   Nevertheless, you should know some browsers block script-triggered popup windows\
   tabs by default, so unless you allow it, it will prompt a warning.
    -  This reply was modified 8 years, 8 months ago by [Yuval](https://wordpress.org/support/users/yuvalsabar/).
 *  Thread Starter [Alan Nusbaum](https://wordpress.org/support/users/alan-nusbaum/)
 * (@alan-nusbaum)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/request-for-multiple-external-redirects/#post-9538840)
 * Yuval this isn’t a solution for me as the thankyou page is often used commonly
   by several other forms I use and I don’t want to pop up a tab with a PDF that
   has nothing to do with the current form. I expect I’ll have to wait and hope 
   that you’ll produce something in your plugin that elegantly enables MULTIPLE 
   External files to be defined.
 * thank you
 *  Plugin Contributor [Yuval](https://wordpress.org/support/users/yuvalsabar/)
 * (@yuvalsabar)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/request-for-multiple-external-redirects/#post-9543467)
 * Hi [@alan-nusbaum](https://wordpress.org/support/users/alan-nusbaum/),
 * Just updated the plugin, now, in version 1.2, you can add multiple redirects,
   including files of course.
 * Please be kind and rate us 🙂
 *  Thread Starter [Alan Nusbaum](https://wordpress.org/support/users/alan-nusbaum/)
 * (@alan-nusbaum)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/request-for-multiple-external-redirects/#post-9548462)
 * Hi Yuval, I’ve upgraded the plugin and can now send a total of 2 PDF’s, but it’s
   still not working as expected. I’d like to send you a screenshot to further explain,
   but this blog doesn’t provide the facility. My email is [alan@connectis.ca](https://wordpress.org/support/topic/request-for-multiple-external-redirects/alan@connectis.ca?output_format=md)
   if you could send me yours, I’ll send you more details along with a screenshot
   so you’ll more easily understand my use case. Thanks in advance
 *  [tardwe](https://wordpress.org/support/users/tardwe/)
 * (@tardwe)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/request-for-multiple-external-redirects/#post-9761862)
 * Hi Alan (@alan-nusbaum). Did you solve the issue? I’m also trying to solve this.
 *  Plugin Contributor [Yuval](https://wordpress.org/support/users/yuvalsabar/)
 * (@yuvalsabar)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/request-for-multiple-external-redirects/#post-9761983)
 * Hi [@tardwe](https://wordpress.org/support/users/tardwe/),
 * That can be done by adding a simple script to the textarea at the bottom of Redirect
   Settings tab:
 * `window.open('YOUR URL OR FILE', '_blank');`
 * Add two lines of the same – and two tabs will be opened, etc.
 *  [tardwe](https://wordpress.org/support/users/tardwe/)
 * (@tardwe)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/request-for-multiple-external-redirects/#post-9763266)
 * Ah. Thanks [@yuvalsabar](https://wordpress.org/support/users/yuvalsabar/). Unfortunately
   I misread what Alan wanted to solve. My issue is that I would like to open different
   thank you pages based on the selected value of a radio button section in the 
   form.
 *  Plugin Contributor [Yuval](https://wordpress.org/support/users/yuvalsabar/)
 * (@yuvalsabar)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/request-for-multiple-external-redirects/#post-9763546)
 * Hi [@tardwe](https://wordpress.org/support/users/tardwe/),
 * It’s also possible to use the script textarea for that – by using the `event`
   object, check the select value and redirect accordingly.
 * There’s an example of a tested and working code:
 * **The select field:**
    `[select your_redirect_page "Home" "About"]`
 * **JavaScript Code**
 *     ```
       inputs = event.detail.inputs;
       inputs.forEach( function(el) {
           if ( el.name == 'your_redirect_page' ) {
           	if ( el.value == 'Home' ) {
           		location.href = 'http://yoursite.com/';
           	} else if ( el.value == 'About' ) {
           		location.href = 'http://yoursite.com/about/';
           	}
           }
       });
       ```
   
 * Notice all other inputs in the plugin should remain unfilled.
 * We’ve added this to the To-Do list for the next version of the plugin, so you
   should expect a build in support in a month or so 😉
    -  This reply was modified 8 years, 6 months ago by [Yuval](https://wordpress.org/support/users/yuvalsabar/).
 *  [tardwe](https://wordpress.org/support/users/tardwe/)
 * (@tardwe)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/request-for-multiple-external-redirects/#post-9764811)
 * Hi again [@yuvalsabar](https://wordpress.org/support/users/yuvalsabar/),
 * Sweet. Thank you so much. And great that you are adding this as a feature for
   next version as well 🙂
 * All the best
    Tård
 *  [positivit](https://wordpress.org/support/users/positivit/)
 * (@positivit)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/request-for-multiple-external-redirects/#post-10112875)
 * Awesome,
 * I can confirm this works for me.
 * I wanted a select drop down as a navigation.
 * Works perfectly.
 * Many thanks to all.
 *  [Howard Harkness](https://wordpress.org/support/users/chltx/)
 * (@chltx)
 * [8 years ago](https://wordpress.org/support/topic/request-for-multiple-external-redirects/#post-10338844)
 * Thanks [@yuvalsabar](https://wordpress.org/support/users/yuvalsabar/) !!
    That
   script did exactly what I needed!

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/topic/request-for-multiple-external-redirects/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/request-for-multiple-external-redirects/page/2/?output_format=md)

The topic ‘Request for Multiple External ReDirects’ is closed to new replies.

 * ![](https://ps.w.org/wpcf7-redirect/assets/icon-256x256.gif?rev=3416723)
 * [Redirection for Contact Form 7](https://wordpress.org/plugins/wpcf7-redirect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpcf7-redirect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpcf7-redirect/)
 * [Active Topics](https://wordpress.org/support/plugin/wpcf7-redirect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpcf7-redirect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpcf7-redirect/reviews/)

 * 27 replies
 * 9 participants
 * Last reply from: [grnaomi](https://wordpress.org/support/users/grnaomi/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/request-for-multiple-external-redirects/page/2/#post-10737526)
 * Status: resolved