AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Notifications
Clear all

[Closed] PDF Files not downloading

2 Posts
2 Users
0 Reactions
1,869 Views
Posts: 3
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@euroyield)
Active Member
Joined: 5 years ago
[#16408]

Hi - I have a forum and users can add pdf files but they cannot download them. When you click on the download link they are taken to a white page.

I have tried adding an HT Access file to the/wp-content/uploads/wpforo/default_attachments/ folder with the following code:

<FilesMatch "\.(gz|pdf|zip|rar)$" >
Order allow,deny
Allow from all
Satisfy any
</FilesMatch>

An example of the pdf download link not working in a post can be found here:

pdf download fail example

I am struggling to see why this is not working can anyone help? Is there different code in the HTAccess file I should be using?

Thank you


1 Reply
Robert
Posts: 10716
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 2 months ago

@euroyield,

Could you please remove that .htaccess file? Also, please check and remove that kind of .htaccess rules from the root directory and in all folders of this tree /wp-content/uploads/wpforo/

This is either .htaccess configuration or some security plugin issue. After checking all .htaccess files please check your plugins to make sure they don't affect it. Then contact to your hosting service support and let them check file type accessibility on your hosting server. This issue doesn't have direct relation to wpForo and it cannot be fixed from wpForo side.


Share: