Title: loading over https issue with use of WP_PLUGIN_URL
Last modified: August 30, 2016

---

# loading over https issue with use of WP_PLUGIN_URL

 *  [darkroom](https://wordpress.org/support/users/darkroom/)
 * (@darkroom)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/loading-over-https-issue-with-use-of-wp_plugin_url/)
 * When using an https plugin to load all page elements over https the wp-easy-gallery
   elements do not load via https. This appears to be due to the fact you are using
   an outdated method of calling the location of the plugin files (WP_PLUGIN_URL).
   When in fact you should be using plugins_ur(). See [https://wordpress.org/ideas/topic/wp_plugin_url-doesnt-take-ssl-into-account](https://wordpress.org/ideas/topic/wp_plugin_url-doesnt-take-ssl-into-account)
 * Therefore my page is shown as not secured because of the 2 javascript files being
   loaded via http.
    /wp-content/plugins/wp-easy-gallery/js/jquery.prettyPhoto.js?
   ver=4.3 /wp-content/plugins/wp-easy-gallery/js/EasyGalleryLoader_hideSocial.js?
   ver=4.3
 * Can you please fix this ASAP? Or let me know how I can work around it?
 * Thanks
 * [https://wordpress.org/plugins/wp-easy-gallery/](https://wordpress.org/plugins/wp-easy-gallery/)

The topic ‘loading over https issue with use of WP_PLUGIN_URL’ is closed to new 
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-easy-gallery.svg)
 * [WP Easy Gallery - WordPress Gallery Plugin](https://wordpress.org/plugins/wp-easy-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-easy-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-easy-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-easy-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-easy-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-easy-gallery/reviews/)

## Tags

 * [ssl https](https://wordpress.org/support/topic-tag/ssl-https/)

 * 0 replies
 * 1 participant
 * Last reply from: [darkroom](https://wordpress.org/support/users/darkroom/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/loading-over-https-issue-with-use-of-wp_plugin_url/)
 * Status: not resolved