Title: issue with https
Last modified: August 31, 2016

---

# issue with https

 *  [Wesam Alalem](https://wordpress.org/support/users/wesamly/)
 * (@wesamly)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/issue-with-https-1/)
 * Hello,
 * There is an issue with https websites, the assets are loaded using http:// not
   [https://](https://wordpress.org/support/topic/issue-with-https-1/?output_format=md).
   I tracked the code, and found the function responsible on this:
    wr-megamenu/
   includes/init/assets.php
 * According to [this support topic](https://wordpress.org/ideas/topic/wp_plugin_url-doesnt-take-ssl-into-account)
   I changed:
    $base_url = WP_PLUGIN_URL . “/{$plugin_name}”; To: $base_url = plugins_url().“/{
   $plugin_name}”;
 * This will respect the uri scheme, and load assets accordingly.
 * Hope you guys include this in the next update.
 * thank you.
 * [https://wordpress.org/plugins/wr-megamenu/](https://wordpress.org/plugins/wr-megamenu/)

The topic ‘issue with https’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wr-megamenu_76878e.svg)
 * [Mega Menu by WooRockets.com](https://wordpress.org/plugins/wr-megamenu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wr-megamenu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wr-megamenu/)
 * [Active Topics](https://wordpress.org/support/plugin/wr-megamenu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wr-megamenu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wr-megamenu/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Wesam Alalem](https://wordpress.org/support/users/wesamly/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/issue-with-https-1/)
 * Status: not resolved