Skip to content

WordPress: How to add a file link

Adding links to files in your WordPress pages and posts is just as easy as adding images. Follow these instructions below to add links to your own files.

I need to upload my file.

  1. Login to your admin area.
  2. Navigate to the page or post you want to insert the link/document.
  3. Place your cursor where you want the link to appear.
  4. Click the “Add media” icon. (It’s right above your editing tools)
  5. Choose “Select Files” and find the file you want to upload from your computer.
  6. When it is done uploading you will see a small thumbnail of your file and some areas for you to fill in.
  7. In the “Title” area, choose the title of the link you want displayed.
  8. The “Link URL” should already be filled in, but if it isn’t click “file URL”
  9. Select “Insert into Post”.

I have already uploaded my file.

  1. Login to your admin area.
  2. Navigate to the page or post you want to insert the link/document.
  3. Place your cursor where you want the link to appear.
  4. Click the “Add media” icon. (It’s right above your editing tools)
  5. Navigate to the “Media Gallery” Tab
  6. Select the “Show” link that is next to the file you want to link to.
  7. In the “Title” area, choose the title of the link you want displayed.
  8. The “Link URL” should already be filled in, but if it isn’t click “file URL”
  9. Select “Insert into Post”.
These instructions are assuming you are using WordPress 2.7.x

Lena Shore

Lena is a full-time freelancer and nerd that specializes in web development, graphic design, and illustration. She enjoys building things, learning new things, pursuing creative endeavors, and giving free advice.

9 Comments

  1. Penny Vos on October 30, 2019 at 11:23 pm

    Hi Lena,

    I can’t see anything that looks remotely like a sun.

    • Lena Shore on October 31, 2019 at 9:10 am

      Yep. You are right. This was for an older version of WordPress. I updated the instructions.

  2. Joanie McDonald on June 1, 2011 at 11:29 am

    Hi Lena,

    I followed your instructions on adding the link to the document, however what I am looking to do is open the document (it’s a word doc) in a new page but all it’s doing is downloading to the computer. Is there a way to get it to open without downloading it?

    • Lena Shore on June 1, 2011 at 12:36 pm

      Internet browsers (Internet Explorer, Firefox, Safari, etc) aren’t made to open Word documents. You must use Microsoft Word to open the file. If you don’t have Word on your computer, it can only download the file. If you do have Word on your computer there may be a local way to set your computer to open downloaded files in the proper programs. Although, I wouldn’t want to do this automatically as it is a security risk. However, you could check your preferences on your specific browser or your computer and see if there is an option for that.

  3. Lesley on July 13, 2010 at 1:07 pm

    Hi Lena,
    Thank you for the help. I might be doing something wrong. I followed these steps to link newsletter PDFs to my website homepage, but my linked titles are ending up on their own page instead of inserting into the homepage. Any tips for how to correct this?

    Thank you!

  4. sunglasses online on May 31, 2010 at 1:57 pm

    good share, great article, very usefull for us…thanks!

  5. Megan on July 15, 2009 at 8:49 am

    Hi Lena,
    I’ve enjoyed scrolling through the technical advise here on your blog. I’ve been meaning to prepare some links to pdfs on my blog, but hadn’t done it yet, mostly because I wasn’t sure how and haven’t had the gumption to learn. Problem solved! Thanks.

  6. Elisa on May 30, 2009 at 6:59 pm

    Thanks, it really helped!

    🙂

Leave a Comment





This site uses Akismet to reduce spam. Learn how your comment data is processed.

Archives