# 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 working](https://help.gocapable.com/pdf-embed/adding-the-pdf-s-host-to-the-suite-s-approved-domains-made-the-embed-stop-working.html) An approved host is fetched directly by the reader's browser instead of through Capable's ### [Pasting a PDF link into the editor does not create a PDF embed](https://help.gocapable.com/pdf-embed/pasting-a-pdf-link-into-the-editor-does-not-create-a-pdf-embed.html) The macro does not claim pasted links; there is no automatic conversion. ### [Export and published sites](https://help.gocapable.com/pdf-embed/export-and-published-sites.html) The rest of this family. --- _Found it? Good._