The problem from https://wordpress.org/support/topic/mixed-content-error-when-downloading-attachments/ rears its head again.
On our document pages on the front end, links to document pages are of the form:
And on this page the linked attachment is https://www.universitychairs.ac.uk/wp-content/files/bp-attachments/2252/FoS-CUC-Feb-2021.pdf
The plugin default htaccess redirects this to a plain http URL:
And in modern Chrome and Edge this blocks the download following their new mixed content policies, even if http is redirected to https again in the chain of redirects.
Can you change the htaccess to return https URLs if the initial request uses https? Since the Apache behaviour is to run the plugin htaccess before any others further up the directory hierarchy, I think this is the only place to fix this problem.
- You must be logged in to reply to this topic.