Search Engines, usually, do not see individual frames. Not even Google,
the (IMHO) best and largest one, do not.

  For example, if one page link to page.php and this page uses frames, and
the search engine robot crawls to page.php, it will not index the individual
frames.

  You can, however, especify a <NOFRAMES> tag, or similar, I might be wrong
on the wording, to generate some text, link or image for agents that can not
see frames. On it, you might put some kind of link to a non-frame page.

  But on your specific question, might be useful to ereg() the
$HTTP_REFERER, and if it does not find a browser, you can header(); to some
place. I say ereg() the browsers because they exist in less numbers than
search engines... It might be a little difficult to find them all, but I
guess it is worth, if you go for this direction. Might exist 20 or 30
browsers anyway... (browscap.ini is helpful to find out).

  If you do not go for this solution, just remember most (almost all) search
engines will not index the individual frames on your document.

--

  Julio Nobrega.

2B||!BB - That's the question.

"Jeroen Geusebroek" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi there,

I have a question about how Search Engines handle sessions and frames.

Since my site uses frames, and i think search engines link to pages
individualy and not the
frameset, i wanted to use sessions to indicate if a user comes from a
search engine (then
it doesn't have a valid session) and if so just redirect the user to the
main page.

But i'm afraid that search engines will get redirected to the main page
everytime it try's to index
a page. What do you all think, and might there be another solution?

Thanks,

Jeroen Geusebroek

P.S. Please CC me in your reply, i'm not a member of the list.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to