Shopping Cart

  • Your cart is empty.

Selling Your Own Ebooks Through WordPress


Although most of your ebooks will be sold through ebookstores like Amazon and Barnes & Noble, as an author or publisher, you may also wish to sell copies of your ebook through your own website.

If you are a small publisher or a self-published author with a small budget, this can seem an insurmountable challenge.

However, if your site is based on a WordPress platform, there are plugins designed to help you to manage your own ebook sales and downloads easily.

Easy Digital Downloads is one such plugin that is particularly easy to use and configure for ebook publishers and authors.

After installing the plugin in the standard manner, a new tab called Downloads will appear in your dashboard sidebar.

As you can see from the image to the right, there are a number of options to this plugin that can be used, but to start off with, you need only concern yourself with two.


Before adding your products, you will need visit the settings menu and configure your store. It is important to go through each tab and save your selections.

You can save the default options in many cases, but you must choose your payment gateway (Paypal is the default, though there are add-ons that will allow you to use other payment methods).

Making sure Paypal is selected (DON’T select manual payment!) and that your Paypal email address is correct are the essential things to get correct here.

You’ll also want to customize the email that gets sent to your customers after purchase in the Emails tab.

The form for this takes special shortcodes, so you can personalize each email to the customer.

A sample email might look something like this:

Dear {name} :
Thank you for your purchase from {sitename}.

Links to your purchased file(s) are below:

If you have any technical difficulties, please contact us at

Thanks again,
Jane Doe,

And finally in the Misc. tab, you can require users to be signed in before purchasing, and make customers agree to your terms of service.

If you are not sure what you should include in your terms and conditions of sale, looking at some existing examples might provide ideas:


Once you are ready to accept payment, you can add a new product. Simply fill in the title and description as you would on any other post or page, then choose the ebook file, the price and other options, and your first download will be available for purchase.

If you want to add a link to buy the book on other pages or posts on your site, you can do that with the supplied shortlink for each product.

And that’s all there is to starting your own ebook store in WordPress.

The plugin allows your customers to re-download files if they are logged in. You can create your own promotions and sales, and change your pricing at will.

If you’re looking to add an ecommerce element to your publisher or author website, this is a very efficient and cost-effective means to do just that.


If you are going to be uploading your books in ZIP or PDF formats only, you don’t have to go any further.

However, if you wish to offer books in EPUB and MOBI formats for the Kindle and Nook, you will have to add those file extensions to WordPress’ allowable media uploads.

This can be easily done with another plugin called Add More File Extensions. Simply install it, and add epub and mobi to the new section it adds in the media tab. The extension is in French, but it’s not hard to figure out where to add your extensions to make it work.

You might also need to edit your .htaccess file to ensure your server can deliver the files in the correct format. Open the file in your webhost’s file manager or in a plain text editor. Taking care not to change any of the WordPress data in the file, add

AddType application/epub+zip .epub
AddType application/x-mobipocket-ebook .mobi

right after the line that looks like this:

# END WordPress


If your webhost is blocking the method by which Easy Digital Downloads delivers the files (readfile), you can easily switch a few lines of code in the plugin file process-download.php to get your script working as it should.

Find the code that reads:


and replace it with:

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $requested_file);
$response = curl_exec($ch);

If the files delivered when you click the link set via email don’t open or produce an error, this is likely what you’ll have to do to fix the error.


your kindle user name:
(, without
Approved E-mail:
(Approved E-mail that kindle will accept)
Kindle base email |
(Use to download on wispernet or wifi, use for wifi only.)
using may incur charges)

One Response to Selling Your Own Ebooks Through WordPress

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Publishing Central Home | Privacy Policy | Contact Us

Copyright © 2015. All Rights Reserved.