How To Deliver Digital Downloads With WordPress

In this video we’re going to look at storing your PDF for your download file inside your own wordpress site this Christian does come up a lot I’d know people who say you know where did I put that download file how do i link to it the easiest solution the easiest way in is inside your own wordpress site now it might not be the most secure way initially but it’s the easiest way to do it then you can protect it and as various things have been put in place to protect the the content of the upload folders inside wordpress and so don’t worry too much about the protection is a free PDF anyway that we’re creating here you know so you don’t mind people finding out sharing the link if they have to least them in other people if you find a PDF and you know they’ll link back to your site when you include links inside it so this it’s what this is self is this easiest way that I think is to store a PDF online and link to it for your download pages and that’s by going to the media library here if we click on library whatever link or a library of all of our images and things if I click on add new and from here I can select the file you know this could be a video file or a PDF and I’m going to use the PDF I’ve got over on the left hand side again I’m going to drag this over drop it into place there and it’s going to go ahead and upload you can see it’s uploaded there if I switch this to list view just for the sake of this you can see here here’s my digital file now one thing is obviously if you’re uploading this you want to make sure you’ve got the naming structure already named beforehand and saves you having to rename it you can’t actually rename the file path structure here of this file it’s already set so you can’t rename that file once it’s in place so rename the file before you upload it but inside here this is the link you can see here this is the link we have to that file also over on the right hand side we have the actual correct file URL path which you want to copy this is one wanna copy over here on the right put that file inside my text pad on a save that file for later on so if we just go back to the library there just to show you don’t get confused if we click on this if we click on the actual link there it takes us into the file this link here if we click on this this loads the file inside one you’re sort of WordPress pages or your you know your pager your blog theme page you can see there there’s the link then to the actual file itself and here is that file it loads on the screen whereas if we go back to the file here if we copy this URL this is the one we want when we use in our download pages because this just takes the user directly to the file inside the browser now various browsers will show this differently some browsers might prompt you to download the PDF straightaway and chrome I’m using here itself opens up the file inside the browser and also doesn’t the videos will play the video inside the browser in most cases but some browsers let’s Safari or Internet Explorer they might prompt you depending on the settings of the user and their own browser it might prompt them to download that file first so I’ll pop up with a screen saying no download this PDF so that’s just something to be aware of but as long as you’re using this link it’s direct link i’m showing you there your link into the correct file so we’ve copied this put this into a notepad will use this link later on when we link up our download pages to this file you