While writers claim confidently “text trumps visuals”, graphic designers emphasize “no way, visuals rule the world!”
Actually, these two elements, text and images, always go together on every website in general and WordPress sites in particular. Without one of these, we couldn’t imagine how boring a WordPress site would be. Content with eye-catching visuals like pictures, infographics, and memes helps tell your story and transmit your message in an engaging way.
We use pages, posts, and other custom post types to add content to a WordPress site. WordPress media files, meanwhile, are managed in a section namely Media Library and each file is assigned an attachment page once being uploaded. People can download these files if they have the files’ downloadable links.
Not mentioning WordPress content at the moment, we would love to dig deep into WordPress download links: what they are, how to add one to your posts, and the way to manage them.
What Are WordPress Download Links?
Similar to a page or post’s URL, a download link refers to the URL of your WordPress media file, containing the website domain, the file slug, and the file type at the end. For example https://preventdirectaccess.com/wp-content/uploads/2018/09/pda-features-file-access-permision.png.
To get the download link, you first have to upload your file to your Media Library. Then WordPress will generate one for it automatically. You can edit this link as well.
Instead of having to open a blog post and viewing your images or PDFs there, users can access and download them right with the download links. Anyone with this link can see your file.
In addition, the download link can be shared with other people and used on other websites freely, which is also called image hotlinking.
How to Create a Download Link in WordPress
The following guide shows you how to create a downloadable URL in detail. After going to Pages or Posts section in the WordPress admin dashboard and open your desired content, take these steps:
- Click Add Media under the post’s title and you will see a Media Library displaying all your existing files
- Choose your file or visit the Upload Files tab to upload a new one
- Hit Select Files, pick one or multiple files from your computer and click Insert into post
You can also simply drag and drop files to upload.
- Fill in the image’s alt text and description (optional). It’s possible for you to get the file’s URL in the Copy Link box
There may be time when you want to reuse an uploaded file in another post. Looking for old ones in the Library with hundreds of images can make you mad since WordPress doesn’t allow you to search for files by names.
So you have to get that file’s URL in the previous post and insert it to a new one.
- View the old post that your image is already embedded
- Right-click and copy the file’s address
- Go back to the new post’s edit screen and enter the link where you want to display the image
You can also click Add Media → Insert from URL → enter the file’s URL → Insert into post
The process is pretty simple, right?
As mentioned, once uploaded to your WordPress media library or added to pages and posts, your file can be viewed and downloaded easily. That’s why you need to protect these download links. Wondering why? Keep reading!
Protect your download links with PDA Gold plugin
- You create ebooks and sell to customers on your WordPress site.
- You offer whitepapers to solve your site members’ problems.
- Your photography website shows your unique images that you don’t want anyone to download except the paying customers.
Whatever the cases are, you shouldn’t make these files downloadable to everyone.
If your hard-to-produce ebook is available on search engines and people can search as well as getting it effortlessly, can you estimate how much revenue you will lose?
That’s where Prevent Direct Access Gold should become your great assistant. The plugin is designed to secure your files’ original URLs and replace them with protected links. This means that unauthorized users will see a 404 page whenever browsing the unprotected file URL (the original file URL).
The protected link works as the new file URL allowing specific users like admins or logged-in users to access.
Rather than letting users freely access your original file URLs, you can create private download links permitting users to download them. To grant users access to your file, you can send them the file’s private download links via email marketing or social media so that they can download it.
However, these links will become deactivated after a number of clicks or a given time. You can even customize your download links to make it more meaningful and legitimate to your users. For example:
- Original file URL: preventdirectaccess.com/wp-content/uploads/getting-started-wordpress.png
- Random download URL: preventdirectaccess.com/private/58575f26ae274
- Custom download URL: preventdirectaccess.com/private/this-is-my-new-ebook
How to use Prevent Direct Access Gold plugin
You must download the PDA Gold plugin and have it activated in your WordPress Plugins from your admin dashboard.
Take these 5 steps to start generating download links for your WordPress files:
- Visit your WordPress Media Library
- Click “Configure file protection” of any file you want to protect
- Auto-generate a new download link or customize your own link
The auto-created link will never expire. Everyone can use it to download your file at any time. Simply click the Edit icon to change the settings.
In the plugin’s general Settings page, you can enable the Auto-protect New File Uploads option to secure all your files automatically once uploading them to your WordPress site.
Create and protect your WordPress download links
It’s simple to add an image or a media file to your WordPress Media Library and your posts. Upon uploading, WordPress will automatically create a download link for the file. This link is accessible and downloadable to everybody.
To prevent potential risks, you can download and use the Prevent Direct Access Gold plugin to protect your files’ original URLs and create special download links. As a result, only those with these links are permitted to get your files.