Add Document

How to Add a Document to Your Site

Follow these steps to upload and link a document on your Drupal 10 website.


Step 1: Upload the Document

  1. Navigate to Content > Media > Add Media > Document.
     

    Screenshot of the Drupal administrative interface showing the navigation path for adding a document to the Media Library. The Content menu is expanded, followed by Media, Add media, and Document. The Document option is highlighted with a red circle to indicate the selection needed to upload a document.
  2. Fill in the following fields:
    • Name: Enter a name that describes the document.
    • Upload: Upload the document file (doc, pdf).
       

      Screenshot of the Drupal Add Document page showing a sample document uploaded and the Name field highlighted with a red circle. The image demonstrates the step where users enter a descriptive document name, which is later used to identify the document and generate its URL. The Save button and document settings are visible below.


       

  3. Click the Save button.

Step 2: Get the Document Link

  1. Go to Content > Media > Media Library.
     

    Screenshot of the Drupal administrative interface showing the navigation path to access the Media Library. The Content menu is expanded, followed by Media, with the Media library option highlighted by a red circle. The image demonstrates how to open the Media Library to browse and manage existing media assets.
  2. Find the document you just uploaded and click the Edit button.
  3. Copy the URL alias path (e.g., /document/name-that-describes-the-document).
     

    Screenshot of the Drupal document editing interface showing a sample document uploaded and a descriptive name entered in the Name field. In the URL alias section, the automatically generated document URL is highlighted with a red circle, demonstrating how the document name is used to create the web address. Save and Delete buttons are visible at the bottom of the page.

Step 3: Add the Document Link to a Page

  1. Go to the page where you want to link the document.
  2. Highlight the text you want to turn into a link.
  3. Click the link icon in the editor.
     

    Screenshot of the Drupal content editor showing text selected within the Body field and the Link button highlighted in the toolbar. The image demonstrates the step for creating a hyperlink by selecting text and choosing the link option before connecting it to a document or web page.
  4. Paste the document’s URL path you copied earlier.
     

    Screenshot of the Drupal content editor showing selected text being linked to a document. A link dialog is open with a document URL entered in the Link URL field, demonstrating how to connect highlighted text to a previously uploaded document. Confirmation and cancel buttons appear below the URL field.
  5. Save the page.