Title: Custom Error Messages
Last modified: August 31, 2016

---

# Custom Error Messages

 *  Resolved [apkajanu](https://wordpress.org/support/users/apkajanu/)
 * (@apkajanu)
 * [10 years ago](https://wordpress.org/support/topic/custom-error-messages-3/)
 * Hi, I want to customize the error message on the login screen when appear on 
   the IP block. I want to display the support email address so how can I do that?
   Thanks.
 * [https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)

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

 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [10 years ago](https://wordpress.org/support/topic/custom-error-messages-3/#post-7378013)
 * Hi, can you share the error message that appears on the screen?
 * Thank you
 *  Thread Starter [apkajanu](https://wordpress.org/support/users/apkajanu/)
 * (@apkajanu)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/custom-error-messages-3/#post-7378125)
 * ERROR: Login failed because your IP address has been blocked. Please contact 
   the administrator.
 * I want to add an email address in the above error message. Can you help?
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/custom-error-messages-3/#post-7378126)
 * Hi, please carry out the following action.
 * Rename the plugin folder via FTP to something like **all-in-one-wp-security-and-
   firewall-temp**. Then log into your website again. Rename the plugin folder back
   to its original name. Enable the plugin and go to **Dashboard -> Locked IP Addresses**
   and unlock your IP address.
 *  Plugin Contributor [wpsolutions](https://wordpress.org/support/users/wpsolutions/)
 * (@wpsolutions)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/custom-error-messages-3/#post-7378127)
 * Currently that error message is hardcoded.
 * I have added a filter for this message so you will be able to modify it.
    The
   filter is called **aiowps_ip_blocked_error_msg**
 * This will be available in the upcoming version of this plugin.
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/custom-error-messages-3/#post-7378140)
 * [@apkajanu](https://wordpress.org/support/users/apkajanu/) my apologies in my
   reply above 🙂 I realized now while reading it again that you weren’t asking 
   for help with an issue but rather how to add an addition to the error message.
   I am glad [@wpsolutions](https://wordpress.org/support/users/wpsolutions/) gave
   you a better reply.
 * I don’t know what was going through my mind at that moment.
 * Kind regards
 *  Thread Starter [apkajanu](https://wordpress.org/support/users/apkajanu/)
 * (@apkajanu)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/custom-error-messages-3/#post-7378155)
 * Thanks all, I’ll be waiting for the upcoming version for my demand.
 *  [Česlav Przywara](https://wordpress.org/support/users/chesio/)
 * (@chesio)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/custom-error-messages-3/#post-7378226)
 * From 4.1.0, the `aiowps_ip_blocked_error_msg` filter is [available](https://wordpress.org/support/topic/aiowps_ip_blocked_error_msg).
   Marking as resolved.

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

The topic ‘Custom Error Messages’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [Česlav Przywara](https://wordpress.org/support/users/chesio/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/custom-error-messages-3/#post-7378226)
 * Status: resolved