PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > php.general > Search engines and
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Search engines and

Réponse
 
LinkBack Outils de la discussion
Vieux 07/04/2008, 14h29   #1
Emil Edeholt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Search engines and

Hi,

Do you guys how search engines like ? 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 . So without 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 , 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
  Réponse avec citation
Vieux 07/04/2008, 15h29   #2
Daniel Brown
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Search engines and

On Mon, Apr 7, 2008 at 9:29 AM, Emil Edeholt <emil@knmedical.se> wrote:
> Hi,
>
> Do you guys how search engines like ? 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 . So without 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 , how would you force users to select a region but
> letting the search engine spiders in on the site somehow?


One way to do it would be to allow Google (and/or other search
engines) to access the site by bypassing the region-selection
entirely.

<?php
if(preg_match('/Google/Uis',$_SERVER['HTTP_USER_AGENT'])) {
// Allow Google to pass through.
}
?>

--
</Daniel P. Brown>
Ask me about:
Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo.,
and shared hosting starting @ $2.50/mo.
Unmanaged, managed, and fully-managed!
  Réponse avec citation
Vieux 07/04/2008, 15h34   #3
Evert Lammerts
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Search engines and

Search engines won't come past that page. How about setting a default
region when a user enters a different page then your main page?

Daniel Brown wrote:
> On Mon, Apr 7, 2008 at 9:29 AM, Emil Edeholt <emil@knmedical.se> wrote:
>
>> Hi,
>>
>> Do you guys how search engines like ? 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 . So without 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 , how would you force users to select a region but
>> letting the search engine spiders in on the site somehow?
>>

>
> One way to do it would be to allow Google (and/or other search
> engines) to access the site by bypassing the region-selection
> entirely.
>
> <?php
> if(preg_match('/Google/Uis',$_SERVER['HTTP_USER_AGENT'])) {
> // Allow Google to pass through.
> }
> ?>
>
>


  Réponse avec citation
Vieux 07/04/2008, 17h45   #4
tedd
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Search engines and

At 3:29 PM +0200 4/7/08, Emil Edeholt wrote:
>Hi,
>
>Do you guys how search engines like ? 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 . So without 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 , 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 those with assistive technologies and thus SE's shouldn't
complain.

Cheers,

tedd


--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
  Réponse avec citation
Vieux 08/04/2008, 10h52   #5
AlmostBob
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Search engines and

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 stylesheet 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@gmail.com> 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 ? 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 . So without 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 , 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 those with assistive technologies and thus SE's shouldn't
> complain.
>
> Cheers,
>
> tedd
>
>
> --
> -------
> http://sperling.com http://ancientstones.com http://earthstones.com



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 15h50.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12112 seconds with 13 queries