|
-
Aug 1st, 2005, 01:31 AM
#1
Thread Starter
Junior Member
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 =|
-
Aug 1st, 2005, 05:04 AM
#2
Re: stupid frames
Google says:
 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
-
Aug 1st, 2005, 09:56 AM
#3
Fanatic Member
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
-
Aug 5th, 2005, 08:01 PM
#4
Hyperactive Member
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.*
-
Aug 5th, 2005, 08:02 PM
#5
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|