manishwp
Forum Replies Created
-
Here is the link.
The site is currently running on Twenty Fourteen theme, so if I give you the link it is unlikely to help. Perhaps in your test installation you can just activate Untitled theme to reproduce the issue for investigation.
I noticed that the issue is marked as resolved. The original theme was Untitled which had to be changed just to make the plugin work, the theme was working fine otherwise. So, the issue is far from resolved.
Yes, on Twenty Fourteen it is working.
The issue seems to be related to, “Untitled” theme.
The following code in the .htaccess file of the remote server is enforcing file download:
ForceType application/octet-stream
Header set Content-Disposition attachmentHowever, EDD is not able to rename the file. In spite of entering file name in the field as shown in the screenshot, the same file name is downloaded that is there in the original URL of the file.
Besides the issue of visible URL, what could be the issue that the file is not downloading – it is simply playing in the browser.
The following has been tried without much success:
RewriteEngine on
Options +FollowSymLinks All -Indexes
RewriteCond %{HTTP_HOST} !^(www\.)?alloweddomain.com$ [NC]
RewriteRule .* 404.shtmlCan you elaborate on what code should be used in .htaccess file.
Let us say that the direct URL of the file on remote host is visible while using easy digital downloads. Is it not possible to have some specific server configuration on remote host that it allows downloads when referer is only a specific external domain.
Incidentally both servers, that is server whose wordpress is accessing files and the remote server whose files are being accessed have wordpress installed. Can’t two wordpress installations with easy digital downloads installed in both of them talk to each other securely…
Seems to be working now as expected. Probably it was change from php 5.2 to 5.3 that fixed it but I am not sure if that was the reason as some other changes were also done. However, there is another issue that I am facing in another WordPress installation about which I may write later if that is not sorted out.
Please see the following URL: