WordPress.org

Ready to get started?Download WordPress

Forums

Allowing site visitors to see PDF document? (8 posts)

  1. Boz2006
    Member
    Posted 6 years ago #

    Could anyone explain how I can show visitors a PDF document on a WP site? It is 16 pages in total.

    Thanks.

  2. NC@WP
    Member
    Posted 6 years ago #

    Upload it to the site and provide a link to it.

  3. Boz2006
    Member
    Posted 6 years ago #

    Apologies for asking the obvious, but is it important where it goes in my site's folder system? I assume not in the WP Content?

  4. Ivovic
    Member
    Posted 6 years ago #

    no, it's not really very important where it goes, but you should exercise some judgement as to whether you would like it to live alongside your other uploaded files, or whether it deserves a folder of its own, etc.

    file organisation is up to you, ultimately, but I'd probably put it in wp-content/uploads

    You could use the wordpress upload system to add it, then provide a link on your post. That it's a PDF doesn't really merit any special consideration over any other kind of file you upload for your users.

  5. Boz2006
    Member
    Posted 6 years ago #

    Thanks, Ivovic, much appreciated.

  6. Boz2006
    Member
    Posted 6 years ago #

    I'm not having much success with this pdf file.

    I've uploaded a 500k pdf file to my WP test site, goatdoodle.com, in the public_html folder, but the link is not visible (url is http://goatdoodle.com/cptprofile.pdf).

    No problem with viewing .txt, .html and .php files - all visible.

    Could anyone offer an explanation as to what I'm doing wrong?

  7. Ivovic
    Member
    Posted 6 years ago #

    I took an educated guess... http://goatdoodle.com/CPTProfile.pdf
    try that link.

    On unix-flavoured servers, case *does* matter. It's therefore advisable to use lowercase when convenient.

  8. Boz2006
    Member
    Posted 6 years ago #

    Thanks a million, Ivovic - I just couldn't work that one out.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags