Hi, I got some downloads hooked up with EDD, you can set an expire time and after that the link doesn't work anymore for obvious reasons.
However, the litespeed server doesn't let the link expire which is an huge issue. I have no idea how to fix that but this is what EDD had to say on WP:
This is their .htaccess:
What do I do?
Cheers
However, the litespeed server doesn't let the link expire which is an huge issue. I have no idea how to fix that but this is what EDD had to say on WP:
Hi @wpuzman and @spac3monk3y
I have done some R&D and found that “deny from all” in .htaccess in litespeed server will not work.
Here is one doc for lightspeed server https://www.litespeedtech.com/docs/webserver/config/general/#allowOverride
Which shows some settings need to be done via account.
I have done some R&D and found that “deny from all” in .htaccess in litespeed server will not work.
Here is one doc for lightspeed server https://www.litespeedtech.com/docs/webserver/config/general/#allowOverride
Which shows some settings need to be done via account.
Code:
Options -Indexes
deny from all
<FilesMatch '\.(jpg|jpeg|png|gif|mp3|ogg)$'>
Order Allow,Deny
Allow from all
</FilesMatch>
Cheers