PDF File URL and Best Practices Question
-
Hello!
I’ve searched around and have seen some questions similar to the one I’m about to pose, but I have a slightly different question at the end.
I have a PDF file that I want users of my site to be able to access. I’m generally fine with how the core wordpress functionality works using the “Add Media” button within a post, creating a link to the pdf, and having it display with the browser.
What I don’t love is the resulting URL of the PDF: https://www.patchofearth.com/wp-content/uploads/2015/12/Patch-of-Earth-2015-Holiday-Gift-Guide.pdf
So two questions:
1) Is there a way to change this specific URL to read: https://www.patchofearth.com/something/Patch-of-Earth-2015-Holiday-Gift-Guide.pdfI’ve experimented with a few of the download manager plugins, and none of them seem to solve for this.
2) Is there a set of best practices I should be thinking about here? Again, I’m fine with how the PDF is getting displayed, except for the URL. It doesn’t quite feel right to have the full folder path to where the file is displayed in the URL. Are there any security risks for moving forward without changing the URL?
Thank you in advance for your time in answering these questions.
Chris
- The topic ‘PDF File URL and Best Practices Question’ is closed to new replies.