Forum Replies Created
Glad to hear this is sorted. If you could tell us what version of PHP your server was using, that would be helpful. Thanks.
We don’t have an option for it at the moment. Normally, the users add a standard sharing plugin to your site that has share icons to your WordPress posts and pages. That same plugin will add the share icons to the download item page created by this plugin.
Looks like your site is using a very old version of PHP. Can you please ask your hosting provider what version of PHP you are using and if they can upgrade it to something newer?
I am not sure about the .gpx extension. I never dealt whit that extension before. The browsers are likely getting a little suspicious about it and stopping it. I would say its better for you to go with the zip file approach then you eliminate this issue. Its very common to receive a zip file as a download when you download an item from a website.
WordPress restricts uploading of some file types. You can use the following addon to remove that restriction:
After that you should be able to upload that file using the media uploader.
What 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.
Looks 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?
WordPress 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:
The following tutorial will explain why the image opens in the browser by default and what you can do to force a download of it:
Regarding 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 #499
Yes (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):
Also, 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:
Use 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"]
The 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?