Does not write correct URL on secure site
-
Nice plugin if I can get it to work correctly. I see this was an issue a couple of years ago. I am not sure if it is user error and I am missing something on my end.
I have a secure site and the plugin automatically enters http instead of https into the page code for the pdf links which of course does not open in the viewer.
The example code that the plugin rendered for the page above.
<!-- wp:pdfjsblock/pdfjs-embed {"imageURL":"https://www.wilkesgenealogy.com/wp-content/uploads/2023/09/Levi-Absher-Ledger.pdf","imgID":2025,"imgTitle":"Levi Absher Ledger"} --> <div class="wp-block-pdfjsblock-pdfjs-embed pdfjs-wrapper">[pdfjs-viewer attachment_id=2025 url=https://www.wilkesgenealogy.com/wp-content/uploads/2023/09/Levi-Absher-Ledger.pdf viewer_width=0 viewer_height=800 url=https://www.wilkesgenealogy.com/wp-content/uploads/2023/09/Levi-Absher-Ledger.pdf download=true print=true fullscreen=true fullscreen_target=true fullscreen_text="View Fullscreen" zoom=auto ]</div> <!-- /wp:pdfjsblock/pdfjs-embed --> <gwmw style="display:none;"></gwmw>
Without sifting through the plugin code, am I missing some front-end switch and if not, do you know where I can change this to render it to write https so I don’t have to manually change the code on the WP page?
That would be a PITA for hundreds of files ??
Thank you.
- This topic was modified 1 year, 1 month ago by .
- This topic was modified 1 year, 1 month ago by . Reason: deleted copy and paste gibberish that attached itself to the code
The page I need help with: [log in to see the link]
- The topic ‘Does not write correct URL on secure site’ is closed to new replies.