PHP and Search Engines

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
royalfunk
Forum Newbie
Posts: 4
Joined: Thu Sep 02, 2004 3:06 pm

PHP and Search Engines

Post by royalfunk »

I am looking for a precise answer to something I have been searching for...

How well do most search engines process PHP files? If you have an HTML file with static text, and a file dynamically generated with PHP with the same exact content, would search engines index the same? Can anyone give some advice on this topic or point me in the right direction? GREATLY APPRECIATED. Thanks!

-Aaron
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

i wuold also like to know this...
User avatar
mudkicker
Forum Contributor
Posts: 479
Joined: Wed Jul 09, 2003 6:11 pm
Location: Istanbul, TR
Contact:

Post by mudkicker »

i was trying to get a solution to this problem with my search script.. but couldn't find a way.. :(
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

You would have to test different extensions to find out - its when you try to index pages with variables on that some search engines dont do - which is why a lot of sites use mod_rewrite or what seem to be now called "google friendly url's" where you add /'s to make it look like a dir:

index.php?page=this/and/this/and/the/other/
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

I've found no problems with Google indexing PHP pages, as long as the title is clear and, as kettle_drum said, the URL is ok. I'd advise you to download the free version of WebCEO (http://www.webceo.com) and use their analyse function which gives you good feedback on how to do things.
Post Reply