Title: PDF Missing
Last modified: August 31, 2016

---

# PDF Missing

 *  Resolved [duff1](https://wordpress.org/support/users/duff1/)
 * (@duff1)
 * [10 years ago](https://wordpress.org/support/topic/pdf-missing/)
 * When embedding a PDF in a post, the page show “loading” and after a few seconds,
   showing “Missing PDF” with the URL. The file is on the server and the URL is 
   correct.
 * How can I fix that?
 * [https://wordpress.org/plugins/pdf-embedder/](https://wordpress.org/plugins/pdf-embedder/)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  [danlester](https://wordpress.org/support/users/danlester/)
 * (@danlester)
 * [10 years ago](https://wordpress.org/support/topic/pdf-missing/#post-7446481)
 * Thank you for your message. Please could you email me a link to the page that
   shows the “Missing PDF”?
 * Send to [contact@wp-pdf.com](https://wordpress.org/support/topic/pdf-missing/contact@wp-pdf.com?output_format=md)
 * I’ll be very happy to take a look there, but might not pick up any further replies
   to this thread.
 * Regards,
 * Dan
 *  [momof2girlies](https://wordpress.org/support/users/momof2girlies/)
 * (@momof2girlies)
 * [10 years ago](https://wordpress.org/support/topic/pdf-missing/#post-7446540)
 * This is happening to me too. What was the solution?
 * [http://chartauto.com/line-sheet/](http://chartauto.com/line-sheet/)
 *  [danlester](https://wordpress.org/support/users/danlester/)
 * (@danlester)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/pdf-missing/#post-7446547)
 * Normally this happens because the PDF isn’t actually at the URL that has ended
   up in the shortcode.
 * I think you’re using a different plugin on that page at the moment.
 * If you’re sure the PDF exists at the URL (i.e. it displays if in your browser
   you go straight to the URL specified in the url=”<url>” parameter) then please
   send me more details via email: [contact@wp-pdf.com](https://wordpress.org/support/topic/pdf-missing/contact@wp-pdf.com?output_format=md).
 * I may not notice replies to this thread, so for anyone else too – please email
   for the best access to support.
 * Thanks,
 * Dan
 *  Thread Starter [duff1](https://wordpress.org/support/users/duff1/)
 * (@duff1)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/pdf-missing/#post-7446574)
 * Here’s the link:
 * [https://www.paramedic.quebec/implantation-nouveau-protocole-danaphylaxie/](https://www.paramedic.quebec/implantation-nouveau-protocole-danaphylaxie/)
 * As you can see, the file is missing with pdf-embedder but showing with pdf-light-
   viewer.
 * An other example:
 * [https://www.paramedic.quebec/assurance-responsabilite-professionnelle/](https://www.paramedic.quebec/assurance-responsabilite-professionnelle/)
 *  [danlester](https://wordpress.org/support/users/danlester/)
 * (@danlester)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/pdf-missing/#post-7446575)
 * Thanks for the links. For some reason, your web server returns ‘404 not found’
   when the plugin tries to load the PDF through an XMLHttpRequest. As you can see,
   if you try to load the PDF through a web browser it works fine.
 * E.g. this PDF URL: [https://www.paramedic.quebec/wp-content/uploads/2016-05-Implantation-du-nouveau-protocole-danaphylaxie.pdf](https://www.paramedic.quebec/wp-content/uploads/2016-05-Implantation-du-nouveau-protocole-danaphylaxie.pdf)
 * There really is no explanation other than your web server is somehow configured
   to behave like this, so you would need to ask your web hosting company’s support
   team to investigate. Please feel free to ask them to contact me. As before, email
   is normally best: [contact@wp-pdf.com](https://wordpress.org/support/topic/pdf-missing/contact@wp-pdf.com?output_format=md).
 * Regards,
 * Dan
 *  Thread Starter [duff1](https://wordpress.org/support/users/duff1/)
 * (@duff1)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/pdf-missing/#post-7446576)
 * But the second link was working few days ago. Do you think it could be because
   all my site is in SSL?
 * And the other PDF plugin is working but I would prefer yours.
 *  [danlester](https://wordpress.org/support/users/danlester/)
 * (@danlester)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/pdf-missing/#post-7446578)
 * It might be that the other plugin is having more luck over non-SSL, or it’s just
   loading it in a way that happens to be configured to work on your server.
 * I still think your web hosting company’s support team should take a look as this
   may affect other aspects of your site too.
 * Please do email with any further questions: [contact@wp-pdf.com](https://wordpress.org/support/topic/pdf-missing/contact@wp-pdf.com?output_format=md)
 * I can’t be sure I’ll notice replies here, so email is best.
 * Thanks,
 * Dan
 *  [momof2girlies](https://wordpress.org/support/users/momof2girlies/)
 * (@momof2girlies)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/pdf-missing/#post-7446579)
 * I finally did contact my hosting company and they made a change to my .htaccess
   file, and now the pdf shows up like it should.
 *  Thread Starter [duff1](https://wordpress.org/support/users/duff1/)
 * (@duff1)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/pdf-missing/#post-7446580)
 * Are you able to tell me what was changed in your .htaccess file? Because I just
   contacted GoDaddy support and they can’t help me on this issue.
 *  [momof2girlies](https://wordpress.org/support/users/momof2girlies/)
 * (@momof2girlies)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/pdf-missing/#post-7446581)
 * I had to contact Namecheap 3 times before I got someone to actually help me! 
   This is what she did, and it worked…
 * I have tried to disable the following lines in your .htaccess file.
 * #<IfModule mod_rewrite.c>
    #RewriteEngine on #RewriteRule !(js|ico|gif|jpg|png
   |css|swf|flv|libraries|maint|admin|login|logout|reg) index.php [QSA,L] #</IfModule
   >
 *  [monalisa_smile](https://wordpress.org/support/users/monalisa_smile/)
 * (@monalisa_smile)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/pdf-missing/#post-7446582)
 * Hi I am also facing problem but, here it only shows loading
 * [http://www.kathasutra.com/karma-yoga-by-swami-vivekananda/](http://www.kathasutra.com/karma-yoga-by-swami-vivekananda/)
 * Please help this is urgent
 *  Thread Starter [duff1](https://wordpress.org/support/users/duff1/)
 * (@duff1)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/pdf-missing/#post-7446583)
 * Ok, great, I disabled one line in my .htaccess and it’s now working.
 * # BEGIN Hotlinking
    <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_REFERER}!
   ^$ RewriteCond %{HTTP_REFERER} !^http://www.paramedic.quebec/.*$ [NC] #RewriteRule\.(
   pdf|doc|docx|odt|rtf|txt)$ [R=302,L] </IfModule>
 * Anyone can tell me what it’s doing exactly?
 *  [danlester](https://wordpress.org/support/users/danlester/)
 * (@danlester)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/pdf-missing/#post-7446587)
 * Thank you to everyone for posting that they were able to solve the problem.
 * If you don’t know about htaccess yourself, I would strongly recommend contacting
   your hosting company’s support team as changes could break more of your site.
 * In all these cases above, for some reason the hosting company had decided to 
   forbid direct access to uploaded PDFS, and this would have affected other PDF
   plugins – or even caused problems if you just wanted to provide a link to the
   PDF.
 * Dan

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘PDF Missing’ is closed to new replies.

 * ![](https://ps.w.org/pdf-embedder/assets/icon.svg?rev=3227003)
 * [PDF Embedder](https://wordpress.org/plugins/pdf-embedder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pdf-embedder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pdf-embedder/)
 * [Active Topics](https://wordpress.org/support/plugin/pdf-embedder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdf-embedder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdf-embedder/reviews/)

 * 13 replies
 * 4 participants
 * Last reply from: [danlester](https://wordpress.org/support/users/danlester/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/pdf-missing/#post-7446587)
 * Status: resolved