# Externally hosted PDF still points at the original website after a site deploy, and breaks for some **What you are seeing** An externally hosted PDF still points at the original website after a site deploy, and breaks for some visitors. --- ## Why it happens The site build tries to copy the file into the published output and quietly falls back to the original web address if that download fails. --- ## What to do Attach the PDF to the page before deploying so the file is always copied into the site. --- ## Settings involved | **Setting** | **Where** | **What it does** | | ------------------------------- | --------------------------------- | ---------------- | | Unlicensed and anonymous access | Built into the macro registration | \- | --- ## Limits that apply here | **Limit** | **Value** | **What happens** | | --------------------- | ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------- | | Height dropdown range | 1 to the document's page count | If the config panel cannot read the document (bad address, permission failure, upload still in flight), the only selectable height is 1. | --- ## Related [Adding the PDF's host to the Suite's approved domains made the embed stop workingAn approved host is fetched directly by the reader's browser instead of through Capable's ](https://help.gocapable.com/pdf-embed/adding-the-pdf-s-host-to-the-suite-s-approved-domains-made-the-embed-stop-working.html) [Pasting a PDF link into the editor does not create a PDF embedThe macro does not claim pasted links; there is no automatic conversion.](https://help.gocapable.com/pdf-embed/pasting-a-pdf-link-into-the-editor-does-not-create-a-pdf-embed.html) [Export and published sitesThe rest of this family.](https://help.gocapable.com/pdf-embed/export-and-published-sites.html) --- _Found it? Good._