Linking to a PDF File


  1. In the Drupal editing interface, click the Media Library button.
  2. In the media library, click the “Document” tab in the upper left.
  3. Click “Choose File” to navigate to the file for uploading then click “Save” (Important: Note the name of the file, as you will be searching for it).

The file has been added to the media library. Close the media library window without "inserting" the link on your page.

Image
Media Library icon
Media Library

Image
Document upload
Document Tab

  1. Back in the Drupal editing interface, select the text you want to hyperlink.
  2. With the text selected, on the content tool bar, click the Hyperlink icon.
  3. In the “URL” field, begin to type the name of the file you just uploaded. When you see the file name appear, click it and click “Save.”

Your hyperlink has been created.

Image
Link icon
Hyperlink icon

Image
Searching for PDF

  1. Copy partial URL that appears after you found the PDF
  2. You'll need to complete the URL by adding in the beginning of the partial URL

The URL will become: /sites/default/files/2023/documents/xxx.pdf

Image
Copy URL