Is this expected behavior? How would I make the document download from the URL alone? It seems odd that the console error doesn’t show the full URL, but I’m not sure if it’s just truncating.
Thanks!
-Jeremy
]]>Trying to get to the point where I can click on a document link within my website and it opens said document in a new tab. I’ve tried various plugins with no luck. Is anyone able to point me towards a plugin or solution that works?
Has anyone managed to get a piece of code such as:
<a href="https://dev.elevatebusiness.com.au/gsi/wp-content/uploads/2016/09/GSIAnnualReport2015-16.pdf" target="_blank">test</a>
to work?
Thanks,
Paul
https://dev.elevatebusiness.com.au/gsi/retail-2/facebook-test-page/
Internal and external links to web pages do work. A link to an Excel spreadsheet works: it automatically downloads in the browser.
However, links to *one* PDF and *one* Word document do work — by downloading to computer, not by opening in browser. They had a full link path including https://, while the others had a path that began with the domain name. (I’m using the WordPress HTTPS plugin to satisfy security certification requirements.) But when I change a non-working PDF and a non-working Word link *on that same page* to include the https prefix, they are still 404.
Other information:
I’ve been developing a Custom Post Type for a document repository. Because the rest of the site is only Pages, I figured I could mess with the Permalinks setting. Maybe not. I’ve changed it back to the original Permalinks setting — /%category%/%title% — but that hasn’t fixed the problem.
I see the files in the Media Library, but I can’t get to them by pasting the URL into a new browser windows. I can, however, FTP the files, which are in the proper folders for the URLs, to my computer and open them on localhost. I wasn’t the one who uploaded the files, so I really am getting them via FTP.
I’ve looked at other posts about 404 document links, but they are old enough that they don’t seem to apply. Any ideas about what may be going on?
]]>I am trying to upload .doc’s and .pdf’s as proprietary information on pages that are restricted to only my member’s area.
After repeated attempts, using either 1) upload under the media library, or 2) upload at the page level – always selecting the URL button, I’ve not had any success.
I posted the .doc’s on google app – and it links well, but I don’t think its as secure since only the link would need to be shared.
Anyone have suggestions?
]]>