Title: Wordfence Blocking iFrame code
Last modified: June 3, 2025

---

# Wordfence Blocking iFrame code

 *  Resolved [DiazTheReal](https://wordpress.org/support/users/diazthereal/)
 * (@diazthereal)
 * [1 year ago](https://wordpress.org/support/topic/wordfence-blocking-iframe-code/)
 * Hi,
 * The issue I’m having is that when when I paste an iFrame code provided by my 
   third party sign up form plugin onto my HTML element of my page builder, an error
   pops up preventing my form being saved by my page builder!
 * I have contacted my hosting provider, and they told me that Wordfence is blocking
   it! Also they told me that there is no php errors.
 * How can I resolve this so I can save my form? Let me know in case you need more
   information.
 * Appreciate your help!
 * Kind regards

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

 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [1 year ago](https://wordpress.org/support/topic/wordfence-blocking-iframe-code/#post-18495965)
 * Hi [@diazthereal](https://wordpress.org/support/users/diazthereal/), thanks for
   your question.
 * It sounds like [Learning Mode](https://www.wordfence.com/help/firewall/learning-mode/)
   could help you. From the Wordfence Dashboard click on **Manage WAF**. Then you
   will see **Basic Firewall Options > Web Application Firewall Status**. Change
   the option to **Learning Mode**. Now perform the actions that were causing issues,
   such as saving and visiting any page(s) containing the iframe code. This will
   help Wordfence learn that these actions are normal and it will allow them in 
   the future. After you have finished performing the actions, switch the WAF from
   Learning Mode back to **Enabled and Protecting**.
 * Many thanks,
   Peter.
 *  Thread Starter [DiazTheReal](https://wordpress.org/support/users/diazthereal/)
 * (@diazthereal)
 * [1 year ago](https://wordpress.org/support/topic/wordfence-blocking-iframe-code/#post-18496006)
 * Hi [@wfpeter](https://wordpress.org/support/users/wfpeter/) ,
 * I really appreciate your help on this. I have switched back to learning mode 
   as you’ve instructed. I’ll see if this can help solve my issue and I will let
   you know as soon as possible.
 * Thank you so much!
 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [1 year ago](https://wordpress.org/support/topic/wordfence-blocking-iframe-code/#post-18505876)
 * No problem at all [@diazthereal](https://wordpress.org/support/users/diazthereal/),
   feel free to let us know how it went.
 * Peter.

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

The topic ‘Wordfence Blocking iFrame code’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/wordfence-blocking-iframe-code/#post-18505876)
 * Status: resolved