• I am trying to embed a WordPress via iFrame in my joomla site and some pages are getting blocked. All my sites are local on my server. I can iFrame joomla to joomla sites without any issues, but when I try to iframe a WordPress site/url into joomla it wont work, some pages work but others error, in edge I get (johnzapf.com refused to connect) in firefox I get (johnzapf.com will not allow Firefox to display the page if another site has embedded it) I dont get iframe errors on any other sites, only going to a wordpress site. I have tried all the iframe Options, in IIS and web.config, I don’t know how to fix this.

    you can recreate the error here by clicking on “my account”.
    https://www.artisticimages.com/purchase/test-cart

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi johnzapf,

    If you use a CMS other than WordPress (like Joomla) and need support, please go to their official support channel:

    Joomla forum

    This issue is most likely to do with the way Joomla works with IFrames.

    Thread Starter johnzapf

    (@johnzapf)

    Like I said I don’t have any problem with Joomla sites, joomla to joomla iframe works fine, its only when I added iframe to a WordPress site. And the error is saying its the WordPress site. “johnzapf.com refused to connect” that’s the wordpress site.

    • This reply was modified 4 years, 2 months ago by johnzapf.
    • This reply was modified 4 years, 2 months ago by johnzapf.

    I understand now.

    My best guess is that you can’t load a secure section of a WordPress site via IFrame, such as the WooCommerce account and login pages. This is a security measure to avoid sites from embedding secure content like login pages from other sites.

    There’s a similar issue and solution found here:

    https://stackoverflow.com/questions/14338559/cant-access-wordpress-dashboard-in-an-iframe

    Use at your own risk though!

    Thread Starter johnzapf

    (@johnzapf)

    I added to this the functions.php and it did not work. I am trying everything I can find, if anyone has any ideas?

    remove_action( ‘login_init’, ‘send_frame_options_header’ );
    remove_action( ‘admin_init’, ‘send_frame_options_header’ );

    • This reply was modified 4 years, 2 months ago by johnzapf.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Embed WordPress site to Joomla not working.’ is closed to new replies.