wp-content/uploads folder visible to search engines?

Discussion in 'WordPress' started by blueboxer, Nov 6, 2011.

  1. #1
    I'm going to use a plugin called PDF Stamper for an ebook that I"m selling.

    The plugin requires me to upload the pdf to the normal me uploads folder: i.e. http://www.domain.com/wp-content/uploads/2011/10/document-file.pdf

    I was under the impression that this folder is picked up by search engines. Which means my ebook isn't really behind a "pay wall."

    So if someone shared the pdf url path, they could access the pdf without paying.

    I tried searching online, but I was unsuccessful in finding an answer!
     
    blueboxer, Nov 6, 2011 IP
  2. Praku

    Praku Peon

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can hide them through robots.txt file
     
    Praku, Nov 6, 2011 IP
  3. rojishroy

    rojishroy Well-Known Member

    Messages:
    74
    Likes Received:
    5
    Best Answers:
    2
    Trophy Points:
    140
    #3
    You can do it easily by editing your robots.txt file and adding the following details:

    User-agent: *
    # disallow all files in these directories
    Disallow: /wp-content/
     
    rojishroy, Nov 7, 2011 IP
  4. Syamsul Alam

    Syamsul Alam Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Use robots.txt to disallow search engine indexing.

    Add index.htm file to your folder to disallow user to see it.
     
    Syamsul Alam, Nov 9, 2011 IP
  5. ilook

    ilook Well-Known Member

    Messages:
    1,602
    Likes Received:
    15
    Best Answers:
    1
    Trophy Points:
    165
    #5
    Another one (the BEST!): Simply block directory browsing in your cPanel! ;)
     
    ilook, Nov 14, 2011 IP
  6. тнє Sufi

    тнє Sufi Peon

    Messages:
    391
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    All of above options are helpful, but it will not stop downloading the PDF, if someone knows direct url.
    Better option will be using some sort of shopping cart type plugin, or something that can set a session and some restrictions on the file.
    Or you can lock your PDF and give the password to your customers!
     
    тнє Sufi, Nov 16, 2011 IP
  7. tts55

    tts55 Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    +1 on this.
     
    tts55, Dec 2, 2011 IP