Title: [Plugin: Link Library] Doesn&#039;t support wp_plugin_url
Last modified: August 19, 2016

---

# [Plugin: Link Library] Doesn't support wp_plugin_url

 *  [staze](https://wordpress.org/support/users/staze/)
 * (@staze)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-link-library-doesnt-support-wp_plugin_url/)
 * I have wp_content_url set to help speed up load times by moving static content
   off to static.hostname.org.
 * It seems wp_plugin_url is normally based off wp_content_url, but you can set 
   to to be something normal, like [http://www.hostname.org](http://www.hostname.org).
   It seems link library doesn’t support having wp_plugin_url set. The main symptom
   of this is the icon for the settings page doesn’t load, it just shows as a question
   mark, and the url points to static.hostname.org/wp-content/plugins/…
 * Any chance we can get this fixed? =)
 * Thanks!
 * [http://wordpress.org/extend/plugins/link-library/](http://wordpress.org/extend/plugins/link-library/)

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

 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-link-library-doesnt-support-wp_plugin_url/#post-1783122)
 * I will only be able to look at this in two weeks or so as I am currently on a
   10-day business trip.
 *  Thread Starter [staze](https://wordpress.org/support/users/staze/)
 * (@staze)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-link-library-doesnt-support-wp_plugin_url/#post-1783173)
 * That’s just fine, thanks!!
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-link-library-doesnt-support-wp_plugin_url/#post-1783220)
 * I looked at the code and I use both WP_CONTENT_URL and WP_PLUGIN_URL in my code,
   both of which are constants that are supposed to be available in WordPress.
 * Now, are you redirecting both or only one of the two? What are you storing on
   static.hostname.org? Is it the entire site?
 *  Thread Starter [staze](https://wordpress.org/support/users/staze/)
 * (@staze)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-link-library-doesnt-support-wp_plugin_url/#post-1783230)
 * Okay, I responded to this a couple days ago, but it didn’t post. Weird.
 * Anyway, WP_CONTENT_URL points to static.hostname.org, and WP_PLUGIN_URL points
   to [http://www.hostname.org](http://www.hostname.org).
 * static.hostname.org is just for static content (images, css, js, etc)… but WP_PLUGIN_URL
   has to be set so things like wordpress-seo work.
 * The only thing that seems broken with link library is the icon on the admin page
   is a “?” since it’s trying to connect over HTTPS to static.hostname.org, when
   the SSL cert is for [http://www.hostname.org](http://www.hostname.org).
 * That said, I was able to work around that just now by changing line 539 in link-
   library.php to:
 * `$pagehooktop = add_menu_page(__('Link Library General Options', 'link-library'),"
   Link Library", 'manage_options', LINK_LIBRARY_ADMIN_PAGE_NAME, array($this, '
   on_show_page'), WP_PLUGIN_URL . '/link-library/icons/folder-beige-internet-icon.
   png');`
 * It’s ugly, but it allows that icon to load. Not sure what else might be broken,
   but the only thing obvious is the admin menu icon.
 *  Plugin Author [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * (@jackdewey)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-link-library-doesnt-support-wp_plugin_url/#post-1783231)
 * Upgrade to version 4.6.7, which will be available soon, and it should resolve
   the path issues that you were seeing.

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

The topic ‘[Plugin: Link Library] Doesn't support wp_plugin_url’ is closed to new
replies.

 * ![](https://ps.w.org/link-library/assets/icon-256x256.jpg?rev=971117)
 * [Link Library](https://wordpress.org/plugins/link-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/link-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/link-library/)
 * [Active Topics](https://wordpress.org/support/plugin/link-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/link-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/link-library/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Yannick Lefebvre](https://wordpress.org/support/users/jackdewey/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-link-library-doesnt-support-wp_plugin_url/#post-1783231)
 * Status: not resolved