Help > General > Requiring the page to be loaded in a frame

Requiring the page to be loaded in a frame

If you are using the forum service, we recommend using our embed code to embed the forum into your website. Using the embed code will ensure that the forum is always loaded in embedded form.

If you are not using the forum service, you can require that pages be loaded within a frame by following the instructions below:

  1. Log in to your Website Toolbox account.
  2. Click the Appearance link.
  3. In the Appearance menu, click the HTML link.
  4. Insert the following code into the "Head" text box. If there is no "Head" textbox, the "Header" textbox can be used instead.

    <script>
    <!--
    if (window.location == parent.top.location) {
        document.location = "FRAME URL";
    }
    -->
    </script>
    

Replace FRAME URL with the URL of the page that contains the iframe.


If you still need help, please contact us.


Product Pages: General, General Pricing, General Features, General Examples