Support » Plugin: Email Before Download » 404 error on direct link

  • Hi! I’ve used Email Before Download on several sites before, but never got 404 errors on inline links. I’ve tried several things already, like checking the form, trying different ones (mantaining the “your-email” field) and removing quotes from the shortcode, but I can’t find the problem.

    I think it might be the link itself, and the server is not recognizing the file URL.

    Can anyone help please? Here’s a link to the form:

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • This is the download link that shows up (that gives the 404 if you click it):

    It gives a 404 because download.php is not reachable at that URL. As in, this doesn’t work:

    If it can’t get to that program then obviously it can’t work. I also tried this:
    which also didn’t work

    I also tried eliminating the word “site” from the URL, like this:
    but that didn’t work either.

    So, I’m not sure what the issue is. Are you set up for multisite? I don’t know if EBD works in multisite mode or not. Anyway, hopefully you can figure out what’s going on … in order to get to the download, the website visitor has to be able to get to the email-before-download directory under plugins and run download.php. Perhaps you have a webserver setting that gives 404 for files under there .. or maybe a security plugin that does that. It’s pretty unusual for WP plugins to need the website visitor to be able to access the plugin files directly (as opposed to the plugin running via wordpress), so occasionally someone puts in measures in their webserver config or whatever to give 404’s .. maybe that’s what’s happening.

    Thread Starter gugtavas



    This helps a lot. I’ll check but probably I have some problem with the folder permissions or file access indeed.

    I am having the exact same issue as Gugtavas. Everything works exactly as planned, EXCEPT the download link which sends the viewer to a 404 page. I am at a loss as to what to do here. I really need this to work. I have no security plugins running, so that is not the issue. @gugtavas, were you able to find the problem?

    Thread Starter gugtavas



    My problem was that the plugin folder had wrong access permissions due to faulty server configuration and therefore the site was not able to find the download.php file. Try checking your ftp privileges and if your plugin folder is correctly named as “email-before-download” (I’ve noticed that sometimes if you download through github it gets named “email-before-download-master”).

    rimell, please open a new support item for the problem you’re encountering (if it is still an issue). In that new item, include a link to your page (I’ll have to see it to fix it probably) and the shortcode that you are using. Also, please set it to “Both” in the EBD settings.

    Ok, will do. Thanks for the quick response!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘404 error on direct link’ is closed to new replies.