Title: Plugin not working in iframe
Last modified: March 28, 2022

---

# Plugin not working in iframe

 *  Resolved [clumsyscatteredmind](https://wordpress.org/support/users/clumsyscatteredmind/)
 * (@clumsyscatteredmind)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-working-in-iframe/)
 * The plugin works great however while loading in iframe it loads a blank site .
   Is there any parameter to allow to load in iframes also ?
 * Thanks

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

 *  Plugin Author [Christoph](https://wordpress.org/support/users/camthor/)
 * (@camthor)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-working-in-iframe/#post-15504871)
 * Can you post a link to an example?
 * Loading iframes happens in the browser, your WordPress site sends the same HTML
   and doesn’t know if it is for an iframe or a full page. The plugin itself doesn’t
   send any data, it just sends a redirection code and the new URL. So maybe your
   browser blocks redirections within iframes.
 *  Thread Starter [clumsyscatteredmind](https://wordpress.org/support/users/clumsyscatteredmind/)
 * (@clumsyscatteredmind)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-working-in-iframe/#post-15505076)
 * hi. Thanks so much for your reply : ) . So I dont think my browser blocks redirections
   in iframes . When I tested it in [https://iframe-generator.com](https://iframe-generator.com).
   Another redirect link worked.
 * I tested with mine : [https://123movies1.me/redirect/redirect1.html](https://123movies1.me/redirect/redirect1.html)
 * (btw , Im doing this for an adult tube site. Just warning of nsfw content )
 * but when I try previewing [https://phytonsmoke.com?redirect_to=random](https://phytonsmoke.com?redirect_to=random),
   it loads a blank page in iframe
 *  Thread Starter [clumsyscatteredmind](https://wordpress.org/support/users/clumsyscatteredmind/)
 * (@clumsyscatteredmind)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-working-in-iframe/#post-15505378)
 * update . It somehow works now : )). So It didnt work with blogger and the iframe
   generator preview, but works with other sites and cpanel , so problem solved :)).
   Thanks so much
 *  Thread Starter [clumsyscatteredmind](https://wordpress.org/support/users/clumsyscatteredmind/)
 * (@clumsyscatteredmind)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-working-in-iframe/#post-15505498)
 * new update. Works well when the site loading the iframe loads in http . However
   https is same issue. Lol I dunno.
 *  Plugin Author [Christoph](https://wordpress.org/support/users/camthor/)
 * (@camthor)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-working-in-iframe/#post-15507559)
 * I just tried with the iframe generator, that seems to work.
 * You could check if you see an error message in the browser console when you get
   that blank page. See: [https://webmasters.stackexchange.com/questions/8525/how-do-i-open-the-javascript-console-in-different-browsers/77337#77337](https://webmasters.stackexchange.com/questions/8525/how-do-i-open-the-javascript-console-in-different-browsers/77337#77337)
   Just enable all messages, it might tell you about blocked content, network errors
   etc.
 * No idea why it works with http …
 * Maybe someone at [https://stackoverflow.com/search?q=iframe+redirect](https://stackoverflow.com/search?q=iframe+redirect)
   or [https://webmasters.stackexchange.com/search?q=iframe+redirect](https://webmasters.stackexchange.com/search?q=iframe+redirect)
   has more experience with iframes.

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

The topic ‘Plugin not working in iframe’ is closed to new replies.

 * ![](https://ps.w.org/redirect-url-to-post/assets/icon-256x256.png?rev=1742449)
 * [Random Post Plugin - Redirect URL to Post](https://wordpress.org/plugins/redirect-url-to-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirect-url-to-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirect-url-to-post/)
 * [Active Topics](https://wordpress.org/support/plugin/redirect-url-to-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirect-url-to-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirect-url-to-post/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Christoph](https://wordpress.org/support/users/camthor/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/plugin-not-working-in-iframe/#post-15507559)
 * Status: resolved