Title: downloand link doesn&#039;t work
Last modified: August 22, 2016

---

# downloand link doesn't work

 *  [fuchsdesign](https://wordpress.org/support/users/fuchsdesign/)
 * (@fuchsdesign)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/downloand-link-doesnt-work/)
 * the download-links links to the plugin and not to the file. is this because of
   the new version of contactform 7 ?
 * [https://wordpress.org/plugins/email-before-download/](https://wordpress.org/plugins/email-before-download/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [tetkikwp](https://wordpress.org/support/users/tetkikwp/)
 * (@tetkikwp)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/downloand-link-doesnt-work/#post-5740833)
 * I am using the multi URLS method. In the e-mail what EBD sent out, the first 
   link doesn’t work. It is empty.
    The second and the others are OK. I found in
   the internet forums, that was also the same problem 3 years ago. How can I fix
   it?
 *  Plugin Author [mandsconsulting](https://wordpress.org/support/users/mandsconsulting/)
 * (@mandsconsulting)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/downloand-link-doesnt-work/#post-5740903)
 * Hi fuchsdesgin,
 * You mentioned in the other thread that you had sent an email to Support @ mandsconsulting.
   com. This is not an actual email for us. If you could resend to [ebd.support@mandsconsulting.com](https://wordpress.org/support/topic/downloand-link-doesnt-work/ebd.support@mandsconsulting.com?output_format=md),
   that would allow us to help you better.
 * Could you please provide us with a test page so that we can see the behavior 
   that is causing problems?
 *  [m.thom](https://wordpress.org/support/users/mthom-1/)
 * (@mthom-1)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/downloand-link-doesnt-work/#post-5740986)
 * Hello,
    I am experiencing the same issue as fuchsdesign. Form and inline link
   work fine, but then the actual download link goes nowhere and appears to get 
   lost in the directory, as mentioned, in the plugin file.
 *  Thread Starter [fuchsdesign](https://wordpress.org/support/users/fuchsdesign/)
 * (@fuchsdesign)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/downloand-link-doesnt-work/#post-5740988)
 * First, uncheck the Hide/Mask link option. It frequently causes conflicts with
   a lot of themes and servers.
 * Second check if shortcode is correct, the ID you use for the download. The correct
   shortcode should be: [email-download download_id=”xxx” contact_form_id=”xxx”]
 *  [m.thom](https://wordpress.org/support/users/mthom-1/)
 * (@mthom-1)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/downloand-link-doesnt-work/#post-5740990)
 * FUchs, you saved me! Thx so much!
 *  [tetkikwp](https://wordpress.org/support/users/tetkikwp/)
 * (@tetkikwp)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/downloand-link-doesnt-work/#post-5740991)
 * Hi, I tried to “uncheck the Hide/Mask link option” but the issue the same.
    So
   when I check Delivery Format: Email or Both, I receive e-mail. When multiply 
   download links is checked, teh e-mail consist all file names, but the first file
   does not include any URL link, it is empty, but the second file Link is working
   well.
 * So how can I solve this problem.
    Actually I can use only the “Inline Link” delivery
   format: No e-mail, no bad Link.
 *  [dtynan](https://wordpress.org/support/users/dtynan/)
 * (@dtynan)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/downloand-link-doesnt-work/#post-5741041)
 * tetkikwp, I remember running across that same problem. I believe I fixed it by
   making a couple of minor edits to the plugin. Try this and see if this works 
   for you, I think it will:
 * edit email-before-download.php
    look for 2 lines (one right after the other),
   that look like:
 *     ```
       $contact_form = str_replace("<ebd />", $chekboxes, $contact_form);
       $contact_form = str_replace("<ebd_left />", $chekboxesL, $contact_form);
       ```
   
 * and then change the string being replaced so that it has opening and ending paragraph
   markers around it .. it should now look like this:
 *     ```
       $contact_form = str_replace("<p><ebd /></p>", $chekboxes, $contact_form);
       $contact_form = str_replace("<p><ebd_left /></p>", $chekboxesL, $contact_form);
       ```
   
 * Be sure you don’t edit the ebd part, there’s a space in there that needs to be
   there, so just carefully the paragraph tags.
 * Save, clear all wordpress caches (caching plugins), clear your browser cache,
   restart browser, go back to your page and try again and then check email to see
   if it’s fixed.
 *  [dtynan](https://wordpress.org/support/users/dtynan/)
 * (@dtynan)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/downloand-link-doesnt-work/#post-5741043)
 * Do you have a public version of your page I could take a look at?
 * If I remember correctly, when I viewed the HTML source of my page using Chrome
   dev tools, I could see that the checkboxes section of code had replaced the <
   ebd_left /> I was using, but it had left an opening paragraph tag before the 
   checkbox section but no closing paragraph tag after all the checkboxes. When 
   the browser interpreted it, it ended up closing the paragraph tag automatically(
   as a correction to the html) after the 1st line of text, which was the first 
   file/first checkbox. It looked ok, I could check everything, but when it submitted,
   it skipped the first checkbox & submitted everything else & the email that got
   sent listed all the files, but the first one was not a link.
 * That said, I have a number of changes to my setup, and I may be misremembering
   or confusing this with another one.
 * Looking at my settings, I have Masked links turned on, I was using ebd_left as
   I said, in the Contact Form, <ebd_left /> appears on a line by itself, hmm, not
   really much to go on there.
 * Do you happen to have this page public? I could probably figure it out, if so.
   You can email me dtynan at gmail.com if you want.
 *  [dtynan](https://wordpress.org/support/users/dtynan/)
 * (@dtynan)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/downloand-link-doesnt-work/#post-5741061)
 * I have tried recreating the problem you’re seeing using data from the email you
   sent. I created filenames that matched yours and text on the page, but it always
   worked for me. However, I’m still pretty confident that the issue is that it 
   is not in English & some of your characters in UTF8 end up with single quotes(
   apostrophes) when something uses them without realizing they are UTF8 (taking
   up more than one byte).
 * I’m not quite sure why I can’t recreate it, but, given that other people on here
   are seeing problems here & there with non-English filenames & text, I think it’s
   likely the problem. I suggest you make a brand new test page, with a new test
   CF7 form, and upload 2 new files to Download Monitor & make the filenames be 
   very simple English (like aaa and bbb), and make sure all of the message text
   that can happen in your CF7 form or in your EBD settings is all in English and
   try again. I realize that’s a lot of effort, but I’ll bet that works. If you 
   look through some of the newer issues in this EBD Support forum, you will see
   where someone had a single quote ‘ in a message in Italian. That message got 
   included in the return payload from the ajax post (after the user presses the
   Send button or whatever) and it broke the javascript.
 * Good luck

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘downloand link doesn't work’ is closed to new replies.

 * ![](https://ps.w.org/email-before-download/assets/icon-256x256.jpg?rev=1813522)
 * [Email Before Download](https://wordpress.org/plugins/email-before-download/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-before-download/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-before-download/)
 * [Active Topics](https://wordpress.org/support/plugin/email-before-download/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-before-download/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-before-download/reviews/)

 * 9 replies
 * 5 participants
 * Last reply from: [dtynan](https://wordpress.org/support/users/dtynan/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/downloand-link-doesnt-work/#post-5741061)
 * Status: not resolved