---
title: Linking to a file – MP3, PDF etc.
description: "If you would like to find out the direct link to a file that you have uploaded into the media library here is what you need to do ## Upload the File First upload your file into the media library…"
url: "https://www.healthhosts.com/docs/linking-to-a-file-mp3-pdf-etc/"
updated: "2024-10-16"
category: Website
---

# Linking to a file – MP3, PDF etc.

If you would like to find out the direct link to a file that you have uploaded into the media library here is what you need to do

## Upload the File

First upload your file into the media library by going to > Media > Add New > and then you can either drag and drop your file into this area or click the "Select Files" box to upload that way.

![upload to media library](https://www.healthhosts.com/wp-content/uploads/2019/11/upload-to-media-library.jpg)

## Select the File

After you have uploaded the file then go to the media library and select the file you just uploaded, if its a file you already have uploaded you can scroll down to select it or if you have a lot of items in your media library you can search for the file name using the search box

![search or browse and select file](https://www.healthhosts.com/wp-content/uploads/2019/11/search-or-browse-and-select-file.jpg)

## Copy the Link to the File

After you select the file you will now see the Attachment Details box, within this you will see the direct link/URL to the actual file.

1. You can either click the **Copy Link** option which will copy the link to your clipboard so you can then paste it anywhere
2. Or you can **manually select the link** and right click and copy it that way

![copy the link to the file](https://www.healthhosts.com/wp-content/uploads/2019/11/copy-the-link-to-the-file.jpg)

## Linking to the File

Now that you have the link to the file copied you can add it to your text or image etc. In the screenshot we show you how to select some text and add the link to that text, but this can also be done the same way if you have an image that you want to link to a file, you just select the image instead of the text.

1. Select the text/words or image that you want to link
2. Click on the link option in the toolbar
3. Paste the link you have already copied into the box
4. Click the apply link
5. Click the settings link if you want the option to select the option to "Open link in a new tab" which is recommended most of the time

In the video tutorial at the bottom of this page we also show you a method of how when using Beaver Builder there are normally link options in many of the content modules.

![Linking to a file](https://www.healthhosts.com/wp-content/uploads/2019/11/Linking-to-a-file.jpg)

## Watch the Video Tutorial on how to do this

[How to link to a file   PDF, MP3, Word doc etc](https://www.youtube.com/embed/FqV-atzsIb8?feature=oembed)
