Title: Problem with iFrame
Last modified: November 19, 2017

---

# Problem with iFrame

 *  Resolved [viacheslavmezentsev](https://wordpress.org/support/users/viacheslavmezentsev/)
 * (@viacheslavmezentsev)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problem-with-iframe-2/)
 * I have the same problem as described here: [https://wordpress.org/support/topic/phpbb-dont-appear-in-wp-page/](https://wordpress.org/support/topic/phpbb-dont-appear-in-wp-page/)
 * WP 4.9, phpBB 3.2.1, w3all 1.7.8.
 * Protocol: https
    Site: [https://tinyco.ru](https://tinyco.ru) Forum: [https://tinyco.ru/forum/](https://tinyco.ru/forum/)
 * The error message in browser console:
    `Mixed Content: The page at 'https://tinyco.
   ru/?page_id=92' was loaded over HTTPS, but requested an insecure resource 'http://
   tinyco.ru/forum/'. This request has been blocked; the content must be served 
   over HTTPS.`
 * As you can see the Форум (Forum) page is empty.
 * If I add slash in the forum url it appears but trimmed. I’m wondering how you
   solve this problem earlier.
 * w3all settings:
    forum url: [https://tinyco.ru/forum](https://tinyco.ru/forum)
    -  This topic was modified 8 years, 6 months ago by [viacheslavmezentsev](https://wordpress.org/support/users/viacheslavmezentsev/).
    -  This topic was modified 8 years, 6 months ago by [viacheslavmezentsev](https://wordpress.org/support/users/viacheslavmezentsev/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-with-iframe-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [axew3](https://wordpress.org/support/users/axewww/)
 * (@axewww)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problem-with-iframe-2/#post-9700797)
 * the mixed content error, come out due to wrong setting http/https
    check that:
   if WP is served as https, phpBB also need to be setup into ACP to be served as
   https, or http if served as http. Both need to have the same setting about this.
 * Check that also the **URL** setting into wp_w3all config page, need to be the
   same (http or https)
 *  Thread Starter [viacheslavmezentsev](https://wordpress.org/support/users/viacheslavmezentsev/)
 * (@viacheslavmezentsev)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problem-with-iframe-2/#post-9700850)
 * https for phpBB enabled (for cookies and server protocol). I’m interesting what
   rule generate this link ‘[http://tinyco.ru/forum/&#8217](http://tinyco.ru/forum/&#8217);
   for the iframe source. Can I point it manually?
 * url setting for wp_w3all: [https://tinyco.ru/forum](https://tinyco.ru/forum)
 * If I add ‘/’ at the end the iframe shows forum page but trimmed (no mixed content
   error).
 *  Plugin Author [axew3](https://wordpress.org/support/users/axewww/)
 * (@axewww)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problem-with-iframe-2/#post-9702591)
 * the rule applied is URL setting on wp_w3all config page.
 * it is so passed into page-forum.php of your active theme folder (or whatever 
   you’ve named it).
    Open page-forum.php, check in case the setting on this line:`//
   document.domain = 'mydomain.com'; // NOTE: Un-comment and reset/setup this with
   YOUR domain if js error when WP is like/on wp.domain.com and phpBB on domain.
   com: js origin error come out when WP is on subdomain install and phpBB on domain.
   The origin fix is needed in case: (do this also on phpBB overall_footer.html 
   added code)` the same setting need to be applied (as explained on iframe procedure)
   to the code you’ve add into your phpBB overall_footer.html.
 * Which wp page contain the iframe phpBB in wp? can i see, in case you’ve still
   not resolved after this?
 *  Thread Starter [viacheslavmezentsev](https://wordpress.org/support/users/viacheslavmezentsev/)
 * (@viacheslavmezentsev)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problem-with-iframe-2/#post-9702683)
 * > Which wp page contain the iframe phpBB in wp? can i see, in case you’ve still
   > not resolved after this?
 * For now: [https://tinyco.ru/?page_id=103](https://tinyco.ru/?page_id=103)
 *  Plugin Author [axew3](https://wordpress.org/support/users/axewww/)
 * (@axewww)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problem-with-iframe-2/#post-9703316)
 * the only error coming out result to me this:
 * > [iFrameSizer][Host page: w3all_phpbb_iframe] IFrame has not responded within
   > 5 seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. 
   > This message can be ingored if everything is working, or you can set the warningTimeout
   > option to a higher value or zero to suppress this warning.
 * and you should set the permalink of this created page **page_id=103** like the
   name you’ve choose into wp_w3all config page for the template iframed page:
    
   so forum, or forums or community etc
 *  Thread Starter [viacheslavmezentsev](https://wordpress.org/support/users/viacheslavmezentsev/)
 * (@viacheslavmezentsev)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problem-with-iframe-2/#post-9706103)
 * This is because I added a slash at the end of the address for the forum. The 
   problem is that the iframe converts **https**://tinyco.ru/forum to **http**://
   tinyco.ru/forum/ and I don’t know how to avoid this. Rules from .htaccess not
   worked in iframe in my environment. So the only worked method – add a slash to
   prevent conversion.
 * The resizer also not worked and I think I need to learn php and all other staff
   to make it works. Also I can’t login as wpadm using standard dialog page but 
   it is possible with the admin account from the forum. This is strange.
 *  Plugin Author [axew3](https://wordpress.org/support/users/axewww/)
 * (@axewww)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/problem-with-iframe-2/#post-9707162)
 * > This is because I added a slash at the end of the address for the forum. The
   > problem is that the iframe converts [https://tinyco.ru/forum](https://tinyco.ru/forum)
   > to [http://tinyco.ru/forum/](http://tinyco.ru/forum/) and I don’t know how 
   > to avoid this.
 * REMOVE the final slash in case you’ve setup it
    as _[http://tinyco.ru/forum/](http://tinyco.ru/forum/)_
   and not as _[http://tinyco.ru/forum](http://tinyco.ru/forum)_ (without slash),
   into WP_w3all config page. This value, exactly as you set it (so you need to 
   set it exactly as _[https://tinyco.ru/forum](https://tinyco.ru/forum)_ without
   slash) is so used into page-forum(or community or what you’ve name it).php of
   your template folder, where: `<iframe id="w3all_phpbb_iframe" style="width:1px;
   min-width:100%;*width:100%;border:0;" scrolling="no" src="<?php echo $w3all_url_to_cms;?
   >"></iframe>` so there is no way, if it isn’t set wrongly, to get the result 
   you say.
 * Look also that since your forum folder where phpBB is installed is **forum** 
   you have to choose another name between available, so forums, board etc when 
   you build/set the forum page name in wp_w3all config page.
 * I also see that your overall_footer.html in phpBB has not been edited to fit 
   needs about iframe resizer.
    Check the install help about, and follow all required
   steps where: **Template embed phpbb into WordPress** [phpBB WordPress integration install help](https://www.axew3.com/w3/cms-plugins-scripts/wordpress-plugins-scripts-docs/wordpress-phpbb-integration/)

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

The topic ‘Problem with iFrame’ is closed to new replies.

 * ![](https://ps.w.org/wp-w3all-phpbb-integration/assets/icon-128x128.png?rev=3375511)
 * [WP w3all phpBB](https://wordpress.org/plugins/wp-w3all-phpbb-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-w3all-phpbb-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-w3all-phpbb-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-w3all-phpbb-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-w3all-phpbb-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-w3all-phpbb-integration/reviews/)

## Tags

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

 * 7 replies
 * 2 participants
 * Last reply from: [axew3](https://wordpress.org/support/users/axewww/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/problem-with-iframe-2/#post-9707162)
 * Status: resolved