[nycphp-talk] PHP And Search Engines
ophir prusak
lists at prusak.com
Wed Sep 29 19:10:26 EDT 2004
I gave a talk about this at the NYPHP meeting back in May 2002 :)
I can't find the slides :( but I did find these two list entries which
might help:
http://lists.nyphp.org/pipermail/talk/2002-May/000119.html
http://lists.nyphp.org/pipermail/talk/2002-September/000947.html
To make a long story short - learn regular expressions (they really
aren't that hard) and use mod_rewrite.
Most decent hosting providers support it. If you're not sure if yours
does - do a phpinfo(); and u can get a list of all the apache modules
they support.
If nothing else, mod rewrite lets you change your site structure and not
have to worry bout old dead links :)
Ophir
inforequest wrote:
> There's tons of misinformation out there about this. As a
> technologist, your best bet (my best advice) is learn about apache and
> mod rewrite, and learn about search engines and how they work. Then,
> and only then, if mod rewrite looks like a solid solution to your
> needs, then put it to use.
>
> The script kiddie approach is not suitable for search engine work, but
> the web is full of script-kiddie solutions and articles. Most of it is
> garbage IMHO.
>
> I think I am scheduled for the January NYPHP meeting on this very
> topic....
>
> -=john andrews
>
> PS: search engines already index pages with query strings. Do a search
> for any junk and you'll see it..
> like
> http://www.google.com/search?hl=en&lr=&ie=UTF-8&q=%22.php%26site%3D%22&btnG=Search
>
>
>
>
>
> Joseph Crawford codebowl-at-gmail.com |nyphp dev/internal group use|
> wrote:
>
>> Guys,
>>
>> i know this isnt directed fully towards php but i have been developing
>> sites for some time now and one of the parts i lack is the knowledge
>> about search engines and spidering.
>>
>> Lately i have read a bit about the NYPHP site and something about
>> search engine spidering. I understand the basics such as basic meta
>> tags but what i need to know is if there is an easy way without use
>> apache's mod_rewrite to make a search engine index pages that have
>> querystrings such as
>>
>> product.php?id=57
>> where each id shows a dynamic page filled with information about
>> different products.
>>
>> now one would think that when it spiders your products.php page and it
>> shows links to products it would follow them and then index the
>> results as if it was an html document, however i have been told that
>> pages like that are not indexed.
>>
>> If anyone can direct me to any books/online reading etc.. i would
>> appreciate it.
>>
>>
> _______________________________________________
> New York PHP Talk
> Supporting AMP Technology (Apache/MySQL/PHP)
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.newyorkphp.org
More information about the talk
mailing list