To both open PDF links in a new window and ensure they're served from your domain, follow these steps:
https://cdn.prod.website-files.com/PROJECTID/PATH/filename.pdf
Note: These URLs are hosted on Webflow's CDN, not your custom domain.
target="_blank"
on the link.To make the PDF link appear as if it's coming from your domain (e.g., yourdomain.com/files/filename.pdf
), you'd need to:
files.yourdomain.com
.uploads-ssl.webflow.com
.For simpler needs, you can place a page (e.g., /pdf-viewer
) with a custom PDF embed using an <iframe>
(via the Embed element) and wrap it in your site design.
If you're using a custom Embed block, make sure your anchor tag includes:
target="_blank"
to open in a new windowrel="noopener"
for security best practicesUpload PDFs to the Webflow Assets panel, use the file link in a standard external URL link, and check "Open in new tab". To make links appear on your domain (not uploads-ssl.webflow.com
), you'll need an external host or reverse-proxy setup, as Webflow doesn't support root-domain asset hosting.