Title: [Plugin: File Un-Attach] Fix for https wp-admin support
Last modified: August 20, 2016

---

# [Plugin: File Un-Attach] Fix for https wp-admin support

 *  [David C](https://wordpress.org/support/users/dcowgill/)
 * (@dcowgill)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-file-un-attach-fix-for-https-wp-admin-support/)
 * Hello-
 * Your plugin works great except for one minor issue. We use https for wp-admin
   and had to modify your plugin so it would work correctly.
 * Here’s the small change you need to make in file-unattach.php line #71:
 * CHANGE
 *     ```
       define('FUNATTACH_URL', WP_PLUGIN_URL . "/" . FUNATTACH_FOLDER . "/");
       ```
   
 * TO
 *     ```
       define('FUNATTACH_URL', plugins_url("/" . FUNATTACH_FOLDER . "/") );
       ```
   
 * That function auto-detects if https is being used or not.
 * Would be great if you could make this change in your next update. Thanks.
 * Supporting info: [http://wordpress.org/extend/ideas/topic/wp_plugin_url-doesnt-take-ssl-into-account](http://wordpress.org/extend/ideas/topic/wp_plugin_url-doesnt-take-ssl-into-account)
 * [http://wordpress.org/extend/plugins/file-un-attach/](http://wordpress.org/extend/plugins/file-un-attach/)

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

 *  Plugin Author [Hax](https://wordpress.org/support/users/hax/)
 * (@hax)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-file-un-attach-fix-for-https-wp-admin-support/#post-2993804)
 * it has been changed, it will be fixed on the next release, thank you for the 
   feedback
 *  Thread Starter [David C](https://wordpress.org/support/users/dcowgill/)
 * (@dcowgill)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-file-un-attach-fix-for-https-wp-admin-support/#post-2993805)
 * Great, thanks Hax.

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

The topic ‘[Plugin: File Un-Attach] Fix for https wp-admin support’ is closed to
new replies.

 * ![](https://ps.w.org/file-un-attach/assets/icon-256x256.jpg?rev=1070689)
 * [File Un-Attach](https://wordpress.org/plugins/file-un-attach/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/file-un-attach/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/file-un-attach/)
 * [Active Topics](https://wordpress.org/support/plugin/file-un-attach/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/file-un-attach/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/file-un-attach/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [David C](https://wordpress.org/support/users/dcowgill/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-file-un-attach-fix-for-https-wp-admin-support/#post-2993805)
 * Status: not resolved