Re: Dynamic Pages and Search Engines
| From: | Richard Lynch | Date: | Sat, 25 Aug 2001 00:48:39 +0000 |
| Subject: | Re: Dynamic Pages and Search Engines | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64375@lists.php.net to get a copy of this message | ||
Search engines assume URLs with ? in them are dynamic and not worth indexing
as the info will change too fast.
Don't submit URLs with ? in them. Don't use ? in URLs you want search
engines to index.
Do use $PATH_INFO instead. There's an old article from Zeev (?) on
http://PHPBuilder.com (?) about how to do it...
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Georgie <georgiecasey@e-merge.ie>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Thursday, August 23, 2001 4:34 PM
Subject: Dynamic Pages and Search Engines
> Ok, i have a script that creates a page that will be submitted to search
> engines. I had originally planned on having one line of code on the search
> engine page:
> include(http://localhost/freelance.php3?id=1);
>
> But for some reason, it doesnt work. I've tried everything, changing the
> php3 to php and include("freelance.php3?id=1")
>
> The only thing that works is
> header location("balh balh...
> but that redirects to the freelance.php3?id=1 page and *i think* thats bad
> for search engines (isnt it?)
>
> So what I'd like some info on is why my include() function doesnt work and
> does a header lcoation command make any difference to the search engines.
>
> THANKS IN ADVANCE
>
>