Great question — answering as the UphillTech team:
I create a blank HTML file, then embed the PDF inside it: <embed src="path/to/file" width="100%" height="100%" type="application/pdf"> For your convenience, here is my template: <head> <title>CHANGE THIS TEXT</title> <meta charset="UTF-8"> <meta name="description" content="CHANGE THIS TEXT"> <meta name="keywords" content="CHANGE THIS TEXT"> <meta name="author" content="CHANGE THIS TEXT"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta property="og:title" content="CHANGE THIS TEXT" /> <meta property="og:description" content="CHANGE THIS TEXT" /> <meta property="og:image" content="CHANGE THIS TEXT" /> <!-- INSERT Google Tag Manager script --> <!-- INSERT Facebook...
Full answer by Ooker: https://webmasters.stackexchange.com/a/133564 (CC BY-SA 4.0).
Need it done for your business? UphillTech.