Forum Replies Created
-
AuthorPosts
-
vavwParticipant
This plugin, to check broken links on a website [marcobeierer.com/wordpress-plugins/link-checker] when run, will also register in the download log.
vavwParticipantThanks!
vavwParticipantThe data is from the User Agent column:
Sidetrade indexer bot
and
Mozilla/5.0 (compatible; AhrefsBot/6.1; +http://ahrefs.com/robot/)
vavwParticipantThe good news is that the code above adds the .zip extension to the download. So that works.
However, when using the hidden download option [sdm_hidden_download id=”1234″] the name of the downloaded file is still that of the download link, instead of the file.
vavwParticipantI replaced the code as instructed above but it does not change anything. The download file name remains identical to the NAS file id, without the .zip extension.
In addition (something that also does not fix the problem but perhaps it is something you can look into): I created a 301 redirect to the download file on my NAS and used the “new” link as the download link for SDM. This results in a 502 Bad Gateway – “The proxy server received an invalid response from an upstream server.”
vavwParticipantThank you for your fast reply.
The three URL Conversion options (Absolute / Relative / Do not convert) in combination with Download Method 1 all have the same result, as described above.
The same happens with Download Method 2, 4, 5 & 6.
Method 3 gives a Bad Gateway.
Method 7 & 8 add “.html” to the name of the download.
If this can not be fixed by means of a plugin update, can it perhaps be tweaked so that the name of the downloaded file can be entered, converting any unwanted filename (“filelink.lua?id=1234567890”) without an extension to a preset one with the desired extension (“filename.zip”)?
-
AuthorPosts