Results 1 to 5 of 5

Thread: stupid frames

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2005
    Posts
    16

    stupid frames

    Is there a meta tag to get search engines to account for frames? Google and yahoo are indexing my sites frame and not the homepage =|

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: stupid frames

    Google says:

    Quote Originally Posted by Google
    Your pages use frames. Google supports frames to the extent that we can. Frames tend to cause problems with search engines, bookmarks, emailing links and so on, because frames don't fit the conceptual model of the web (every page corresponds to a single URL). If a user's query matches the page as a whole, Google returns the frame set. If a user's query matches an individual frame on the page, Google returns the URL for that frame. The page is not displayed in a frame because there may be no frame set corresponding to that URL.
    Source: http://www.google.com/webmasters/2.html

  3. #3
    Fanatic Member
    Join Date
    Jan 2005
    Location
    In front of this pc.
    Posts
    580

    Re: stupid frames

    You could place a javascript in each frame source so that it would reload in the frameset if that page is loaded outside of the framset by checking the top.location

  4. #4
    Hyperactive Member ninjanutz's Avatar
    Join Date
    Jun 2005
    Location
    Bayside
    Posts
    256

    Re: stupid frames

    here's if u dont no the javascript script...
    1) In a text document, on the first line, type if (top.location != "frameset.url", where frameset.url is the frameset that the page in question should always be displayed in.
    2) If desired type & top.location != "frameset2.url" where frameset2.url is another frameset in which the page is allowed to be displayed.
    *Repeat steo 2 for each possible frameset.*
    3) Type ) to complete the condition.
    4) Then type {top.location.href= "frameset.url"}, where frameset.url is the web page that should be displayed instead of the requested page, and must be one of the ones noted in steps 1-2, and (hopefully) contains the requested page.
    5) Save the script as a text only with the name name.js.
    6) In the head section of your HTML document, type <script type="text/javascript" language="javascript" src="name.js"></script> to call the scipt written in name.js.
    *This should work to solve ur problem.*

  5. #5
    Hyperactive Member ninjanutz's Avatar
    Join Date
    Jun 2005
    Location
    Bayside
    Posts
    256

    Re: stupid frames

    almost forgot dont use enter anywhere in the script because this breaks the script

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width