Notifications
Clear all

wpForo 1.x.x [Closed] PDF Files not downloading

2 Posts
2 Users
0 Reactions
1,069 Views
Posts: 3
Topic starter
(@euroyield)
Active Member
Joined: 4 years ago

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: 10591
Admin
(@robert)
Support Team
Joined: 9 years 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.