Links to download pdf files not working.
-
Problem: Using WordPress, Kadence theme, Kadence blocks (all fully updated). Page contains text that serves as a link to download a PDF file. Link constructed as follows:
- In Bit File Manager, navigate to the PDF file, right click, in drop down list select GET INFO. In FILE INFO window, select LINK, copy link (CTRL-c) to clipboard.
- Editing the website page: Select text that will carry the link. In toolbar, select the link icon. In link field, paste (CTRL-v) the link info copied in step 1 above. Save the link. Update the page. Go to frontend.
- Testing: On website page (frontend), the link works OK – it downloads the PDF file. Log out of website, purge browser cache. Log into website, purge WordPress cache. Navigate to page. Test link and link does not work; error = TOKEN EXPIRED.
Workaround: After completing step 2 above, edit the link. Link contains …. “https://websitename.org/wp-admin/………”. Delete everything after “wp-” and replace with the path to PDF file. Save the edited link. Update the page. Go to frontend. Testing as in step 3 above: The edited link works properly – it downloads the PDF file, no errors.
QUESTION: In Bit File Manager, why does the LINK provided in the FILE INFO window NOT contain the path to the file? Is this a bug?
- The topic ‘Links to download pdf files not working.’ is closed to new replies.