Pass-through for PDF not working
-
Apologies if this has been raised before but I cannot seem to find anything similar posted.
I’ve set up a simple pass-through redirect to a PDF file so that it appears as if located in a ‘download’ area as opposed to under the wp-content folder path structure. The basic settings are as follows- Source URL: /[relative url]/form.pdf
- Query Parameters: Ignore and pass parameters to target
- Match: URL only
- When matched: Pass-through
- Target URL: [absolute url]/wp-content/uploads/2019/10/form.pdf
When loading the target URL in a browser the PDF file is rendered correctly, as a PDF file. However the result when using the pass-through redirect is that contents of the PDF file are literally rendered as (I guess) as if it were a text file. I’m guessing that the content type is not being passed up the chain.
I have also tried removing the file extension from the source URL and that doesn’t make any difference either
Is this a bug, technical limitation or user error in configuration?The page I need help with: [log in to see the link]
- The topic ‘Pass-through for PDF not working’ is closed to new replies.