Title: Issue with Embedding Script Code
Last modified: February 19, 2020

---

# Issue with Embedding Script Code

 *  [hakimi69](https://wordpress.org/support/users/hakimi69/)
 * (@hakimi69)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/issue-with-embedding-script-code/)
 * Hi i need help!
 * It seemed that I can’t embed a customized script code into WordPress page as 
   Wordfence somehow is blocking them. As result, I cannot update, publish, or preview
   the page with the embedded code. It will be redirected to “Page Not Found”.
 * Please assist.

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

 *  [wfdave](https://wordpress.org/support/users/wfdave/)
 * (@wfdave)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/issue-with-embedding-script-code/#post-12458687)
 * Hi [@hakimi69](https://wordpress.org/support/users/hakimi69/),
 * Can you go into Wordfence -> Firewall -> All Firewall Options, and set the Firewall
   Status to `Learning Mode`?
 * For example: [https://i.imgur.com/AEbW02j.png](https://i.imgur.com/AEbW02j.png)
 * Once you’ve done that, go back and try to embed your script again.
 * Dave
 *  Thread Starter [hakimi69](https://wordpress.org/support/users/hakimi69/)
 * (@hakimi69)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/issue-with-embedding-script-code/#post-12471461)
 * Hi Dave,
 * Thank you for your assistance, I have tried it but the issue still continues.
   I am still exploring other possible ways WordFence could allow embeddung script
   codes on the landing pages.
 * Please assist, thanks!

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

The topic ‘Issue with Embedding Script 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

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [script](https://wordpress.org/support/topic-tag/script/)

 * 2 replies
 * 2 participants
 * Last reply from: [hakimi69](https://wordpress.org/support/users/hakimi69/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/issue-with-embedding-script-code/#post-12471461)
 * Status: not resolved