Re: [PHP] Search engines and cookies



If you put the items offscreen with css, you get scroll bars, looks ugly,
some people will always scroll over to find what is there.

if you make the text invisible with css it is machine readable but ...
also lets you set different parts of the page to include in print

in the external style*** or in the header <style></style>
@media all { .dontall { display:none } }
@media print { .dontprint { display:none } }
@media screen { .dontshow { display:none } }

<p class='dontall'>search engine text: google finds it people dont</p>
<p>this shows always</p>
<p class='dontprint'>this screen menu doesnt print: menu blah blah blah</p>
<p class='dontshow'>this alternate paragraph replaces the screen menu on
print pages</p>
<p>this shows always</p>

--
If at first you dont succeed
try try try again
If at first you do succeed
try not to look surprised

_
"tedd" <tedd.sperling@xxxxxxxxx> wrote in message
news:p06240805c41fff6a515c@[192.168.1.101]...
At 3:29 PM +0200 4/7/08, Emil Edeholt wrote:
Hi,

Do you guys how search engines like cookies? One site I'm working on
now requires the user to select which region he/she is from on the
start page. That value is stored in a cookie. So without cookies you
can't get past the start page. Does this leave the search engines at
the start page? Right now google only index the start pages on my
site and I'm trying to figure out why.

If I can't use cookies, how would you force users to select a region
but letting the search engine spiders in on the site somehow?

Hope this wasn't too off topic.

Kind Regards Emil

Emil:

My advice -- give the SE what it's looking for. Place a description
of what your site is about on the start page. If you don't want users
to see it, then place the text off-left via css position. This would
also help those with assistive technologies and thus SE's shouldn't
complain.

Cheers,

tedd


--
-------
http://sperling.com http://ancientstones.com http://earthstones.com


.