Title: Subscribe error when wp-admin is protected
Last modified: April 19, 2022

---

# Subscribe error when wp-admin is protected

 *  Resolved [yaseico](https://wordpress.org/support/users/yaseico/)
 * (@yaseico)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/subscribe-error-when-wp-admin-is-protected/)
 * Hi when protecting a WordPress wp-admin folder, by restricting access to specific
   ip addresses (ie good practice) this results in an error for visitors attempting
   to subscribe. I tried a simple out of the box form, that just requires an email
   address to subscribe.
 * As soon as I remove the protection on wp-admin, then the form works fine.
 * This is not ideal since it is better to protect the wp-admin folder access. Could
   you please advise why this might be the case?
 * Thanks
    Tim

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

 *  Plugin Support [Dani F. a11n](https://wordpress.org/support/users/danielinhou/)
 * (@danielinhou)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/subscribe-error-when-wp-admin-is-protected/#post-15576817)
 * Hi there [@yaseico](https://wordpress.org/support/users/yaseico/) 👋🏽!
 * Thank you for reaching out to MailPoet Support!
 * > As soon as I remove the protection on wp-admin, then the form works fine.
 * Oh, I am sorry to hear that. Could you please share the error that the subscribers
   get when you enable the ‘WP-Admin’ protection?
 * Then we’ll be able to share that with our developers to see if there’s anything
   else than can be done.
 * Thanks!
 *  Thread Starter [yaseico](https://wordpress.org/support/users/yaseico/)
 * (@yaseico)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/subscribe-error-when-wp-admin-is-protected/#post-15580733)
 * hi [@danielinhou](https://wordpress.org/support/users/danielinhou/)
 * The error message is “An error has happened while performing a request, please
   try again later”
 * This is displayed on the subscription form when IP address restriction protection
   of wp-admin is enabled.
 * Please note that all WordPress, plug-ins and server php etc are up to date with
   latest versions.
 * Thanks
 * Tim
 *  [Elvira K.](https://wordpress.org/support/users/treibalen/)
 * (@treibalen)
 * [4 years ago](https://wordpress.org/support/topic/subscribe-error-when-wp-admin-is-protected/#post-15591726)
 * Hi there [@yaseico](https://wordpress.org/support/users/yaseico/),
 * When a subscription form is submitted, our plugin sends a POST request to /wp-
   admin/admin-ajax.php. MailPoet needs access to /wp-admin/admin-ajax.php as well
   as a lot of other plugins.
 * You need to allow such requests without IP restriction, otherwise, your subscription
   form won’t work.
 * Please try disabling it at least for /wp-admin/admin-ajax.php to see if it works.
 * I hope this clarifies a bit, but please let us know if you have any questions!

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

The topic ‘Subscribe error when wp-admin is protected’ is closed to new replies.

 * ![](https://ps.w.org/mailpoet/assets/icon-256x256.png?rev=3284564)
 * [MailPoet - Newsletters, Email Marketing, and Automation](https://wordpress.org/plugins/mailpoet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailpoet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailpoet/)
 * [Active Topics](https://wordpress.org/support/plugin/mailpoet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailpoet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailpoet/reviews/)

## Tags

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

 * 3 replies
 * 3 participants
 * Last reply from: [Elvira K.](https://wordpress.org/support/users/treibalen/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/subscribe-error-when-wp-admin-is-protected/#post-15591726)
 * Status: resolved