Delightful Downloads
external download links (2 posts)

  1. strangen
    Posted 2 years ago #

    I have recently installed wordpress on a new site and I have dd installed on another site. I imported the downloads to my new site and all my posts containing the download links. Everything seemed to be working properly but when I click the download button on the new site, it says wordpress error, file doesn't exist.

    I checked the downloads and the download url points to the old site, which is how I want it. Any help would be appreciated.


  2. strangen
    Posted 2 years ago #

    I found a temporary solution, I replaced the following code in functions.php

    function dedo_download_link( $id ) {
    	 return home_url( '?ddownload=' . $id );


    function dedo_download_link( $id ) {
    	 return ( 'http://myoldsite.com?ddownload=' . $id );

    This works, but I would like to be able to have a mixture of internal downloads and external downloads in the future.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Delightful Downloads
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.