FEWS NET Website CMS Knowledge Base
Breadcrumbs

Linking to a PDF Page

Follow the steps below to upload a PDF to a report and link to a specific page.

  1. Add the PDF to your report node:

    1. Navigate to the report node where you want to add the link.

    2. From the Edit screen, click on the Media tab.

    3. Add the PDF to the PDF upload section. 

  2. Obtain the PDF's direct URL:

    1. Go to the Media Library by selecting Content > Media from the top menu.

    2. Search for the name of the file you just uploaded. 

    3. Click on the file name link. 

    4. To get the direct file path relative URL of the PDF, click on the file name link to open it in a new window and copy the URL. For example, a PDF uploaded with the file name “Global-Weather-Hazards-12182025.pdf” will have a URL that looks like this: https://fews.net/sites/default/files/2025-12/Global-Weather-Hazards-12182025.pdf

  3. Append the page number syntax:

    1. Add #page=[number] to the end of the PDF's URL, where [number] is the desired page number. For example, to link to page 3 of a document named “Global-Weather-Hazards-12182025.pdf," the full link would be:
      https://fews.net/sites/default/files/2025-12/Global-Weather-Hazards-12182025.pdf#page=3

  4. Create the link in your section content:

    1. Return to the Edit screen for the report node, and navigate to the section content block where you want to add the link.

    2. Highlight the text you want to turn into a link (e.g., "View the annual report starting on page 3 (PDF)").

    3. Click the Link icon in the WYSIWYG editor toolbar.

    4. Paste the modified relative URL (including the #page=3 part) into the Link URL field.

      1. Note: You don’t need to paste full link, just the part after http://fews.net. For example, /sites/default/files/2025-12/Global-Weather-Hazards-12182025.pdf#page=3

    5. Save your report.