Help > Forum > Website Integration > External pages appear within the embedded forum area

External pages appear within the embedded forum area

If you are using our forum embed code and you insert links to pages not hosted by Website Toolbox in the header or footer of your forum, those links may load within the embedded area of your forum instead of a full browser window. The problem may also occur if you are using Single Sign On and you have specified a Log In, Log Out, or Sign Up page.

You can resolve the problem by upgrading the page which contains the embed code to an HTML5 doctype.

Alternatively, you can specify an HTML attribute of target="_top" on your links so that they open in the full browser window instead of within the embedded window.

Another approach is to add the following code to the page which is being incorrectly loaded within the embedded area:

// never allow this page to be loaded in an iframe
if (top.location!= self.location) {
   top.location = self.location.href;

The above code will cause the page to break out of the embedded area and reload itself in the full browser window.

If you still need help, please contact us.