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.
     

    Add document
  2. Fill in the following fields:
    • Name: Enter a name that describes the document.
    • Upload: Upload the document file (doc, pdf).
       

      name document


       

  3. Click the Save button.

Step 2: Get the Document Link

  1. Go to Content > Media > Media Library.
     

    Media Library
  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).
     

    Document link path

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.
     

    Link document pathway
  4. Paste the document’s URL path you copied earlier.
     

    link path name
  5. Save the page.