Wordpress PDF Embed Stopped Working after JITP Media Clone
Thanks so much for your help on the JITP library transfer—everything went great with the issue launch, and I really appreciate how quickly you fixed the redirect hiccup.
We have noticed that our pdf embedder on the page below has started turning up "Failed to Fetch" errors when viewed in Chrome, though not in Safari. I tried re-uploading the pdfs and changing the links, in case it was an issue of the Media Library clone, but found it still not working. I've since tried a few variations (adding www. to the pdf url, trying http://) to no avail.
For your reference, the urls in question are
and they are set to display toward the bottom of the post (under "Appendix A" and "Appendix B").
All my best,
Updated by Boone Gorges over 2 years ago
- Status changed from New to Reporter Feedback
Thanks for the detailed report, Patrick.
The problem here is that the PDF embedding plugin is attempting to load the file from an insecure URL (http vs https). I'm unsure what the root cause for this is, but I was able to skirt the problem by changing the URLs in the post content from this format:
to this format:
Note that I removed the section of the URL that says 'blogs.dir/614/'.
Since this is likely a one-off problem that occurred due to the way the media library was cloned, I think this is a sufficient fix for the time being. Can you review and see if it's working as expected?