Title: File cannot be downloaded
Last modified: August 21, 2016

---

# File cannot be downloaded

 *  Resolved [nowton](https://wordpress.org/support/users/nowton/)
 * (@nowton)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/file-does-not-get-uploaded/)
 * I tried this plugin on my local server, upload a file, then chose ‘Insert into
   Post’. However the input does not reflect the file uploaded, nor can I view it
   from the frontend. If I fill in the url, then try to view it from the frontend
   I just get redirected to the frontpage. What gives?
 * [https://wordpress.org/plugins/simple-download-monitor/](https://wordpress.org/plugins/simple-download-monitor/)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Thread Starter [nowton](https://wordpress.org/support/users/nowton/)
 * (@nowton)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/file-does-not-get-uploaded/#post-4620401)
 * Apparently some conflict if you have your installation set to not inputting a
   default link for uploaded media. Use File Link, then insert the download, then
   it works.
 *  Plugin Contributor [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/file-does-not-get-uploaded/#post-4620550)
 * I don’t understand.
 * Can you perhaps be more specific.. and explain the steps necessary to reproduce
   the error?
 * I’ll be happy to take a look and provide a fix; but currently I have no idea 
   what you are describing.
 * Thank you!
 *  Thread Starter [nowton](https://wordpress.org/support/users/nowton/)
 * (@nowton)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/file-does-not-get-uploaded/#post-4620551)
 * If you set the WP installation to not provide a default link for inserted media,
   then this gets respected when inserting a media download using the editor button.
 * So in that case: I insert media using the button, the shortcode gets printed 
   in the editor, however no link is being attached to the shortcode/link is empty.
 *  Plugin Contributor [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/file-does-not-get-uploaded/#post-4620558)
 * Thank you VERY much!
    I’ll take a look at it later tonight and post back here
   tomorrow.
 * Just for clarification; how did you tell WP to “not provide a default link” for
   inserted media?
 * Did you use a plugin; a custom function; or a wp-config tweak?
 * I really appreciate your time!
 *  Thread Starter [nowton](https://wordpress.org/support/users/nowton/)
 * (@nowton)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/file-does-not-get-uploaded/#post-4620570)
 * Setting the option image_default_link_type to ‘none’ (default = ‘file’) on /wp-
   admin/options.php. I have clients that require this functionality/should be protected
   against themselves 😉
 *  Plugin Contributor [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/file-does-not-get-uploaded/#post-4620606)
 * Ahhh… gotcha 🙂
 * Yeah.. since that’s a modified core file.. I’m afraid not much we can do. However,
   I really appreciate you posting the solution!
 * Perhaps we can add a dismiss-able admin notice if the `image_default_link_type`
   does not equal `file`… informing the user of the potential problem.
 * Again.. thanks for posting!
 *  Thread Starter [nowton](https://wordpress.org/support/users/nowton/)
 * (@nowton)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/file-does-not-get-uploaded/#post-4620610)
 * I beg to differ, this is not core adaption, but configuration. There’s probably
   is some check to perform, perhaps during installation. Or create an entry in 
   your FAQ 😉 Best of luck!
 *  Plugin Contributor [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/file-does-not-get-uploaded/#post-4620617)
 * Okay… perhaps I’m not understanding correctly.
 * Are you modifying the `wp-admin/options.php` file directly when you make that
   configuration adjustment?
 *  Thread Starter [nowton](https://wordpress.org/support/users/nowton/)
 * (@nowton)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/file-does-not-get-uploaded/#post-4620618)
 * Steps to get to the options screen: Open a WordPress admin, paste or type ‘options.
   php’ (w/out the quotes) after [http://yourdomainnname.tld/wp-admin/](http://yourdomainnname.tld/wp-admin/)
   Edit options at will, using common sense 😉 Better?
 *  Plugin Contributor [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/file-does-not-get-uploaded/#post-4620664)
 * Ah yes… not many know about that little secret! I had no idea that is the area
   you were referring. My apologies.
 * Okay.. I understand.
    I’ll have a deeper look and see what we can do. Since that
   is a direct database setting.. I’m sure we can check it’s value prior to setting
   the file url, and alert a message to the user if `image_default_link_type` = `
   none`.
 * Thanks again for your help with this!
 *  Thread Starter [nowton](https://wordpress.org/support/users/nowton/)
 * (@nowton)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/file-does-not-get-uploaded/#post-4620665)
 * Sure thing, best of luck with that 😉
 *  [Casimir11767](https://wordpress.org/support/users/casimir11767/)
 * (@casimir11767)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/file-does-not-get-uploaded/#post-4620685)
 * Hi,
 * I would like to be able to upload .mcd (Conceptuel Data Model) file ?
 * The Simple download plugin say “This file type is not authorized”
 * How I can add this file type as acceptable ?
 *  Thread Starter [nowton](https://wordpress.org/support/users/nowton/)
 * (@nowton)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/file-does-not-get-uploaded/#post-4620686)
 * Casimir, please start your own thread, as this one is unrelated and marked resolved.
   Thanks.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘File cannot be downloaded’ is closed to new replies.

 * ![](https://ps.w.org/simple-download-monitor/assets/icon-128x128.png?rev=973803)
 * [Simple Download Monitor](https://wordpress.org/plugins/simple-download-monitor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-download-monitor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-download-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-download-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-download-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-download-monitor/reviews/)

 * 13 replies
 * 3 participants
 * Last reply from: [nowton](https://wordpress.org/support/users/nowton/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/file-does-not-get-uploaded/#post-4620686)
 * Status: resolved