Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Web Design (WordPress, Joomla, etc.) Framsets and Search Engines

  • Framsets and Search Engines

    Posted by Michael on March 24, 2006 at 1:26 am

    Hi there,

    I’m doing some work at the moment to a site that was designed with framesets:

    http://www.mandala.ie

    One of the problems with this site is Google searches. If the user searches using certain keywords, say ‘mandala spa’ google will return the what it calculates as the most relevant pages. The problem is that often these page will be the bottom frame of a frameset page which will just have content and no navigation elements on it. therefore the user sees the pages as it was never intended and has no way of travelling around the rest of the site.

    My question is: is there a way to stop this? Is there a bit of code that could be put within the bottom frame page that, if opened through google in this way, will automatically redirect the user to the frameset page, which will contain the bottom frame content and the top frame navigation elements.

    Any help or advice would be much appreciated.

    Thanks very much,

    Michael

    Michael replied 20 years, 3 months ago 2 Members · 4 Replies
  • 4 Replies
  • Curtis Thompson

    March 24, 2006 at 2:26 am

    hello…

    ya – you can do an javascript onload in each frame that says the equivalent of “if top.location.href == self.location.href” then redirect page to the desired frame…or just see if the frame has a parent and if not then redirect – either one of those models should work…

    sitruc

  • Michael

    March 27, 2006 at 10:42 pm

    thanks very much for the help, curtis.

    i’m afraid my hand coding isn’t what it should be. could you tell me where in the code of:

    https://www.mandala.ie/html/products_bottom.htm

    i should place the little line of code to direct it to:

    https://www.mandala.ie/html/products_framset.htm

    if opened with google?

    Thanks again, Curtis.

    Michael

  • Curtis Thompson

    March 27, 2006 at 11:09 pm

    hello…

    there’s some good examples here:

    https://irt.org/script/frame.htm

    specifically this one might do it for ya:

    https://irt.org/script/206.htm

    but if not, scan through the questions on that first page and you’ll find a good example in there…

    sitruc

  • Michael

    March 28, 2006 at 12:20 pm

    Thanks Curtis,

    this is great

    Michael

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy