FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


problems for indexing php pages in google.





garvalf4
It seems google is not indexing pages if there are some html errors in the source code.
I found it easy to include some full pages (written with some wysiwyg authoring tools) with php, the problem is it's including the html tags twice, and google doesn't seem to like it.
Have you ever heard of this ?
Marston
Well, it's a well known fact that if you either have dynamic URL's (ie. yoursite.net/script.php?id=asdfg&blah), or if you have php Sessions appended to your URL's (ie. yoursite.net/index.php?PHPSESSID=12345678910), the Googlebot has a cow and doesn't index your pages properly... I don't think Google particularily cares if you have poor HTML though.
garvalf4
ok, sorry, I didn't know, it's true I have dynamic urls, I'll look to see if there is a workaround for this. It's a pity.
Thank you for your reply

(edit)
I've seen those 2 solutions :

http://smallplanetonline.com/google.php
http://www.google.com/webmasters/sitemaps/docs/en/overview.html
cambridge
google indexes dynamic pages!!

generally speaking; robots can encounter problems during crawling your site if there are more than 1 parameter in the url. try to shorten url or prepare google site map which can help robot to properly index all your pages (or at least main site sections)

as to the wrong html; if you use php to include complete html pages, why don't you remove duplicated html tags (I suppose you mean <body><head> and so on) using php?
Marston
cambridge wrote:
google indexes dynamic pages!!
Yeah, but not properly.
Related topics
Flash Site or No?!
Prevent Flash Site Navigation
Master Tutorial on SEO
PHP and SEO
Managing php pages
Rebuilt site using php, google seems confused
one line securing of php pages (login of users) (user auth)
Should Google provide website hosting?
Problems with php
SEO/ publish my php website
How do i host my PHP pages?
Problems with php + mysql script.
Hey, space.frih.net is now AstroTwister.com. cool, eh?
HTML vs PHP pages?
Reply to topic    Frihost Forum Index -> Webmaster and Internet -> SEO and Search Engines

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.