- AuthorPosts
Jim
GuestI uploaded a PDF file. If I use the file URL the PDF file displays as expected.
However, if I use the permalink I get a page with multiple links to the file, one above the header and two in the body, plus the header is in front of part of the first page of the PDF file.
I get the same results for all media files.Example:
URL: https://wncfirewood.org/wp-content/uploads/2025/03/2024-Annual-Report.pdf
Permalink: https://wncfirewood.org/2024-annual-report/In the past I ignored the permalink when creating links on the site. Now, however, I want to advertise the simpler permalink via other means.
The site is hosted by DreamHost which keeps all plugins updated to the most current. WordPress 6.7.2 running Crio theme.
Any help would be appreciated, because I have no clue where to begin looking for the cause.
I am not an experienced user, so the more explicit and specific your response will likely be the most beneficial. Thank you!Elana
KeymasterHello Jim,
Thank you for reaching out to our support team.
By default, when you click on a media item’s permalink in WordPress, it is displayed in a preview mode, which allows you to view the media item without downloading it. This works similarly to how a post works in WordPress. If you’re logged in, you’ll also see the “Edit Media” option in the Admin bar, just like you would see “Edit Post” on regular posts.
To resolve this, you have a few options:
Set up redirects: You can either manually set up redirects or use a redirect plugin to automatically redirect the permalink to the direct media file URL.
Use other plugins: Plugins like Pretty Links or 301 Redirect can help streamline how your media is linked and displayed.
Let me know if you need further assistance!
Thanks,
ElanaJim
GuestThank you. Using redirects resolved the issue nicely.
- AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)