Wells-it.com - Web Hosting

Google and PHP Pages

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

They have: 27 posts

Joined: Apr 2005

Does anyone know how google feels and indexes PHP pages?

I have heard that google dislikes and will not index site with pages like /newthread.php?do=newthread&f=6

But then I have also read that recently google changed the program to better index forums and other sites that are php based like PHP Nuke, et al.

Anyone know for sure really how google manages these types of knowledge bases? Forums have tones of content and would hate to have my site not indexed becase google and the others do not like *.php? yadda yadda yadda.

They have: 7 posts

Joined: May 2005

Google will index sites with pages like /newthread.php?do=newthread&f=6

I find that there is not too much difference. Others may dissagree...

If you are worried that a forum will not get indexed, try to stop the forum using phph sessions. PHP Sessions will / most likely stop google where as a url like /newthread.php?do=newthread&f=6 will not stop google.

chrishirst's picture

He has: 379 posts

Joined: Apr 2005

doesn't matter what the server-side technology is in the slightest. User agents will always be served HTML.

Chris

Indifference will be the downfall of mankind, but who cares?
Venue Capacity Monitoring
Code Samples

JeevesBond's picture
Moderator

He has: 3,711 posts

Joined: Jun 2002

If it doesn't matter to the user-agent where did this myth come from? I've spoken to people who do SEO that advise dead-against using PHP etc. when trying to market a site - surely there's no smoke without fire?

a Padded Cell our articles site!

chrishirst's picture

He has: 379 posts

Joined: Apr 2005

the usual mixing up of cause and effect. They don't imagine that having a session ID or a boat-load of parameters in the URL could be the cause, or the possibility that they are crap at SEO maybe Laughing out loud it must be because it's php/asp/cfm/pl/jsp etc etc

Talk to people who really do SEO and you'll find a different world of opinion

Chris

Indifference will be the downfall of mankind, but who cares?
Venue Capacity Monitoring
Code Samples

They have: 27 posts

Joined: Apr 2005

GREAT thank you for the response Chris.

andy206uk's picture
DeveloperModerator

He has: 1,754 posts

Joined: Jul 2002

I think google are ok with PHP pages. If you search for:

allinurl: site:webmaster-forums.net webmaster-forums.net

at google, you will see that webmaster-forums.net has over 31000 pages listed and they nearly all use dynamic url's.

Andyk

Blog of a Web Designer
Give a man a fish and you feed him for a day. Teach him to use the Net and he won't bother you for weeks.

They have: 17 posts

Joined: Apr 2005

Yes it can find them but how is the ranking compared to similar page in .html ?

Busy's picture
Modrater

He has: 6,157 posts

Joined: May 2001

I have a site that is all PHP (display=something&num=somethingelse) and google and other bots eat em up. This site only has one main page but 2500 options on it. Only downside is some search engines take the session as well.

If Google can read flash files and pdf files I'm sure they can understand similar server side queries.

I don't know if it's because of DOC tag or what but since done in PHP has been visited more by search bots than it was done in just HTML

<?bhb if(broken){ echo("It wasn't me Smiling "); } ?>
Learn HTML the ez way - EzHTML.net

Some people are like slinkies, they dont really serve any purpose but they still bring a smile to your face when you push them down the stairs ...

chrishirst's picture

He has: 379 posts

Joined: Apr 2005

Eagle-Mark wrote: Yes it can find them but how is the ranking compared to similar page in .html

Absolutely no different

PHP pages ARE HTML when served out to user agents.

[added]

Busy wrote: If Google can read flash files and pdf files

Flash and PDF are both client side NOT server side.

[/added]

Chris

Indifference will be the downfall of mankind, but who cares?
Venue Capacity Monitoring
Code Samples

timjpriebe's picture
DeveloperModeratorSponsor

He has: 2,666 posts

Joined: Dec 2004

From what I've read, as long as you don't have tons of URL-passed variables, and try not to use variables named "id", you should be okay.

timjpriebe's picture
DeveloperModeratorSponsor

He has: 2,666 posts

Joined: Dec 2004

timjpriebe wrote: From what I've read, as long as you don't have tons of URL-passed variables, and try not to use variables named "id", you should be okay.

I should have said try not to use URL-passed variables named "id." Obviously, your internal PHP variable names aren't even visible to the outside world, search engines included.

He has: 377 posts

Joined: May 2005

php pages are fine.

He has: 1 posts

Joined: Jan 2006

Hello all.
So,you can also use .htaccess, mode_rewrite ON and rewrite conditions. That helps to create a SE user friendly links.
And do not forget to hide PHPSESSID of whatever you call it in your links.

Richard
[EMAIL=webmaster@bearcity.co.uk]webmaster@bearcity.co.uk[/EMAIL]
http://www.bearcity.co.uk

They have: 168 posts

Joined: Jan 2005

The Google Bot has trouble crawling and indexing dynamic PHP pages (extension.php?action=sitemap&user=guest&pageid=10079). I believe the reason is that there is much coding involved and the bots recognize the code while the server is processing it (which is unoticable to the human eye), thus causing Google to crawl dynamic pages a lot slower than a standard .html file. It will in time index the page though; perhaps it just has to come back and try again.

I'll quack like a penguin, and sting like a flee.
eGaming Supply MMORPG Services - MMORPG Marketplace

demonhale's picture

He has: 3,301 posts

Joined: May 2005

how about my concern on php session ids making sites not pass validations, but the actual html validates perfectly... any thoughts?