Forum Replies Created
-
AuthorPosts
-
admin
KeymasterWhat happens if you enable the PHP dispatch option? What happens if you put that file inside a folder and make it a .zip file?
This is a little strange so I am trying various things to see if there is a setup that works better on this site.
admin
KeymasterLooks like it is failing to properly read that file. Are you using PHP dispatch option in that download item’s configuration? If you are how does it behave if you uncheck that option?
admin
KeymasterWordPress doesn’t let you use any shortcode inside the value of the “href” parameter. So what you have there is not going to work.
Since you want to create a link, you could use the option explained in the following documentation. See the “Download URL That Can be Used in an Email or in a Link” section:
admin
KeymasterThe following tutorial will explain why the image opens in the browser by default and what you can do to force a download of it:
https://www.tipsandtricks-hq.com/forum/topic/force-a-file-to-download-instead-of-showing-up-in-the-browserRegarding the PHP Dispatching, what kind of file is it? How big is the file? Is it hosted on your site (or is it coming from an external site)?
June 8, 2018 at 12:05 am in reply to: Will PHP Dispatching protect against Google Searches showing URL #499admin
KeymasterYes (as long as you are not linking to that file from some other place of your site)
It is a good idea to add an empty “index.html” page in that fold (where you are keeping the file).
If you don’t know what an empty index file is, you can download the following one from our site and use it (right click on the link and pick save as):
https://simple-download-monitor.com/wp-content/uploads/index.htmlAlso, if you are going to have many password protected files then it is a good idea to create a special folder in your site. Then put all those password protected files in that folder. Now you can put a .htaccess file in that folder with the following content so nothing in that folder is indexed:
Options -Indexes
admin
KeymasterUse the “button_text” parameter in the shortcode to customize the download button text. Below is an example shortcode showing you how to use it:
[sdm_download id="X" button_text="Click here to download"]
admin
KeymasterThe user can download any file you configure in the plugin. So I am not sure what you mean by maximum filesize. What will that be used for?
-
AuthorPosts