The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Upload a PDF to be viewed in browser

Discussion in 'General Discussion' started by getdryvit, Aug 13, 2015.

  1. getdryvit

    getdryvit Registered

    Joined:
    Aug 13, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Woodbridge, ON
    cPanel Access Level:
    Root Administrator
    Hi all! I will start by saying I am new to this forum and I am also new to being the admin of a company site! most everything was set up for me when I got this position, and I haven't had any issues until today.

    I am trying to upload a PDF into the file manager. I want this to be a public file, that anyone with the link can access, and I am not planning to actually display this file on the website.

    So far I have created a new folder, "bulletins" within the "public_html" folder to hold the file. Then I uploaded it with a title similar to "xxx_xxxxx.pdf". My problem begins here. I can easily navigate to "www.sitename.com/bulletins/xxx_xxxxx.pdf" but instead of displaying the pdf, it begins the download automatically.

    How do I make this file show in the browser instead?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page