Short answer: Most content management systems have a media library — upload the file (PDF, DOCX, image) there, then link to it from a page or button. In WordPress: Media → Add New, then insert a link. In Shopify: Settings → Files, upload, copy the URL. In Webflow: Assets panel. On a plain HTML site: put the file in a folder on the server and link to its path. Keep documents under a few megabytes and name them clearly.
WordPress
- Media → Add New (or drag the file in while editing a page).
- Once uploaded, click the file and copy the File URL.
- On the page, select the text or button, click the link icon, and paste the URL.
- To force a download rather than open-in-browser, add a download plugin or the
attribute in HTML.
Shopify
- Settings → Files → Upload files.
- Click the uploaded file and copy its URL.
- In a page or product description, highlight text → link → paste the URL. Or use a button block in the theme editor.
Webflow
- Open the Assets panel, upload the file.
- Select a text link or button, set its link to the asset.
- Publish.
Plain HTML site
- Upload the file to a folder (e.g.
) via FTP or your host's file manager. - Link to it:
.
Keep it fast and findable
- Compress PDFs (a "reduce file size" export, or a tool like Smallpdf). Aim under 2–3 MB.
- Name the file clearly:
, not. - Give the link real text: "Download the buyer's guide (PDF, 1.4 MB)", not "click here".
- Gate it if it's a lead magnet: put a short form in front of the download and send the file by email — this turns the document into leads.
- Don't rely on it for SEO content: search engines read PDFs, but a normal web page ranks better. Use the PDF as the takeaway, the page as the content.
Key takeaways
- Every CMS has a media/files area — upload there, then link from a page or button.
- Compress to under a few MB and name the file clearly.
- Use descriptive link text with the file type and size.
- If it's a lead magnet, put a form in front and deliver by email.
FAQ
Why does my PDF open instead of downloading?
Is there a file size limit?
Can I upload a Word document?
Alamin Sultan
Web developer for real estate and e‑commerce. WordPress · Next.js · MERN.
