WordPress.org

Ready to get started?Download WordPress

Forums

MailChimp Widget
404 errors when default wp-content dir is renamed (4 posts)

  1. thepresident
    Member
    Posted 1 year ago #

    Hi,

    I use Better WP security plugin and get locked out for too many 404s because every time a page loads plugin calls this URL

    http://mydomain.com/wp-content/plugins/mailchimp-widget/js/mailchimp-widget-min.js?ver=3.5.2

    My default wp-content directory is renamed to something else. Would that be causing this problem and how can I fix that?

    Thank you!

    http://wordpress.org/extend/plugins/mailchimp-widget/

  2. jcohlmeyer
    Member
    Posted 12 months ago #

    On line 40 of ns_widget_mailchimp.class.php the line should be changed to: wp_enqueue_script('ns-mc-widget', plugins_url() . '/mailchimp-widget/js/mailchimp-widget-min.js', array('jquery'), false);

    This will ensure compatibility with a different wordpress wp-content directory.

    Can someone please update this in the plugin?

  3. jcohlmeyer
    Member
    Posted 12 months ago #

    You also need to fix the url for the loader in mailchimp-widget-min.js ... or just replace it with a data url. - http://www.base64-image.de/

  4. thepresident
    Member
    Posted 11 months ago #

    Thanks jcohlmeyer, appreciate your help! Sorry if dumb question - but what exactly do I replace in mailchimp-widget-min.js? :) Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.