944,156 Members | Top Members by Rank

Ad:
Mar 5th, 2006
0

Google, Yahoo and PHP

Expand Post »
Hi:

I run or help run a few web-sites dedicated to musicians John Barry, Matt Monro, Adam Faith & Ron Grainer. Naturally,
like everybody else, I want them to appear near the top in searches. This is not a problem as far as MSN goes, as all four appear in the top ten - a couple are virtually top. And two of them also appear very high up in Google and Yahoo.

However, in the case of the other two, they are either nowhere at all or virtually nowhere in Google and Yahoo. I think it must be something to do with the URL name itself. The two that are nowhere end as org.uk/home.php - the ones that rank high end in org.uk

I've read all kinds of comment about php, many offering contradictory advice on the subject. My webmaster can't understand why this might a problem but it just seems bizarre that the Ron Grainer site could be number one on MSN searches but nowhere at all on Google or Yahoo.

Neither of us are very experienced in the field so any help would be much appreciated!!
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Geoffers is offline Offline
1 posts
since Mar 2006
Mar 6th, 2006
0

Re: Google, Yahoo and PHP

This sounds like it could be caused from a few factors.
1) Possible Google sandbox
2) Too few pages indexed. (do a site:query)
3) Too few inbound links
4) A lot of competition with better optimized sites.

Keep in mind, the MSN spider is much hungrier than Google or Yahoo's spider.

Hope this helps:-)
Reputation Points: 10
Solved Threads: 1
Light Poster
shimon is offline Offline
46 posts
since Mar 2006
Mar 6th, 2006
0

Re: Google, Yahoo and PHP

It really doesn't make sense to me why google would like www.domain.co.uk but not www.domain.co.uk/page.php. What WOULD make sense is Google not liking page.php?q=blah where the dynamic page has a query string attached. The reason for this is because each time you introduce a query string to a dynamic page, you are virtually creating a new page. For example, page.php?do=faq is different than page.php?do=email. As you add more query strings, such as page.php?do=faq&item=4, you are virtually creating an UNLIMITED number of pages. Simply enter random text as a parameter and you have yourself a completely different page. Google likes to steer clear of this because it is afraid of its spider (and limited resources) being caught in an infinite loop spidering an infinite number of virtual pages on a site. For that reason, when it comes across dynamic URL query strings, it tends to be very stingy in how many it spiders, careful not to get itself indexing the same pages in triplicate or worse.

Here is an example: Suppose there is a php page called page.php which accepts the ?x= parameter and has the following php code on the page:
[php]
$next = $_REQUEST['x'] + 1;
echo "<a href=\"page.php?x=$next\">Next Page</a>";
[/php]

Basically, whatever number you enter into the query string, the page shows a link to one number higher. if you go to the page page.php?x=1 it will show a link to page.php?x=2. Google follows this page and it shows a link to page.php?x=3 and so on and so forth into infinity. An infinite number of pages in one line of code and one php document. See why Google is nervous?
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 163
The Queen of DaniWeb
cscgal is offline Offline
13,646 posts
since Feb 2002
Mar 6th, 2006
0

Re: Google, Yahoo and PHP

That used to be true. However, currently Google will and can crawl and index multiple parameters in any url. Although, if you are still concerned about the dynamic url issue, you can always use a URL rewrite.
Reputation Points: 10
Solved Threads: 1
Light Poster
shimon is offline Offline
46 posts
since Mar 2006
Mar 6th, 2006
0

Re: Google, Yahoo and PHP

Oh, I never meant to say that Google was not capable of crawling or indexing multiple parameters in any URL. What I meant to say was that Google is more hesitant to crawl URLs with lots of parameters than static html pages because of the possibility / probability that most dynamic sites are capable of delivering a mathematically infinite number of unique pages.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 163
The Queen of DaniWeb
cscgal is offline Offline
13,646 posts
since Feb 2002

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Search Engine Optimization Forum Timeline: Help in understanding Adwords conversion tracking report
Next Thread in Search Engine Optimization Forum Timeline: Google PR Update





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC