• Resolved 3NT

    (@3nt)


    A friend of mine asked me to figure it out, what’s wrong. A link to the pdf she’s selling, if you know it, is freely accessible. And at the moment this link ended up on the 1st page, if you search my the title of the book.

    She’s just moved the hosting. She doesn’t know if she had this problem before and she was not the one who installed and set up EDD plugin.

    I could not find anything in the settings. What am I missing and what should I search for?

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

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support Mihai Joldis

    (@misulicus)

    Hey @rn

    Can you post a screenshot of the Download Files section for that specific product inside the admin?

    • This reply was modified 3 years, 3 months ago by Mihai Joldis.
    Thread Starter 3NT

    (@3nt)

    Is it the one?:
    image host

    BTW, I found section in the docs that I don’t entirely understand, it’s “Download Files Not Protected on NGINX”. Simple online scanner shows for that website that it runs on OpenResty. Could it be the reason for that problem?

    • This reply was modified 3 years, 3 months ago by 3NT.
    Plugin Support Mihai Joldis

    (@misulicus)

    That is the one however I can’t see the full path in the screenshot. Can you copy the File URL and paste it here but remove the file name from the URL at the end.

    I’m interested in the file path that comes after /uploads/

    Thread Starter 3NT

    (@3nt)

    Sorry, ws not intentional – I’ve got a small screen. path: https://helianthusclinic.com/wp-content/uploads/2019/07/ … – closed by hosting, all the upload folders are closed, btw. Redirect from http works ok.

    Link was picked up by Google Search, I guess, because during transition period new hosting asked to deactivate all the plugins and my friend didn’t do everything fast enough and GoogleBot indexed the file.

    Plugin Support Mihai Joldis

    (@misulicus)

    Thanks for that. So the link you have now is not one that is created by EDD.
    If you click on the Upload File link in that box then you upload your file it will be added to a wp-content/uploads/edd/ directory which is protected via .htaccess and direct access to it will be restricted.

    Try uploading a file like that and see if the path afterwards look correct: uploads/edd/…./

    Thread Starter 3NT

    (@3nt)

    ?? I’ve just found it myself and was about to post it – after your question I compared the link with her “free sample” thing and found the difference.

    So, do I get it right, to correct the problem on existing page I should:
    1. open existing page
    2. go to the section with download file
    3. upload file from that section rather then upload to the media library first

    I suspect that it was exactly how it happened, she tried it with free sample, everything was honky-dory, then she kind of forgot how she uploaded or didn’t think it should be done only through download section on the page.

    Plugin Support Mihai Joldis

    (@misulicus)

    Yes, that is correct. You need to upload the files from the File URL -> Upload a file link as that will make sure to upload the files in the secure /edd/ directory on your webserver.

    Once the file is uploaded and inserted in the field you could copy that link and try opening it in a different browser to see if its correctly blocking you from downloading it.

    Thread Starter 3NT

    (@3nt)

    Now I’ve got the problem with google :(. I removed old file, but google is still letting me download from the SERP the fil under old address… I might blame it on my browser cash, but it feels like an actual download (and yes, she doesn’t have a cash plugin, maybe the hosting do some cashing?!?).

    Plugin Support Mihai Joldis

    (@misulicus)

    You can simply delete that old file from your WordPress website. Go to the Media page and you can delete the file there.

    You can double-check afterwards via FTP to make sure the file no longer exists at wp-content/uploads/2019/07/filenamehere

    Thread Starter 3NT

    (@3nt)

    I’ve already done it, wrote in previous message. That’s why I’m so puzzled.

    Thread Starter 3NT

    (@3nt)

    Finally it disappeared. So it was cashed somewhere, more likely at the hosting (I do another site with different hosting, and over there files are not accessible as son as I delete them).

    OK. Thanks for your help. Fantastic support!

    Plugin Support Mihai Joldis

    (@misulicus)

    Plugin Support Mihai Joldis

    (@misulicus)

    Glad to hear you got it resolved!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Link to pdf is accessible if you know it.’ is closed to new replies.