#24303 [Asn]: Google search contains a lot of redirects back to Google
| From: | philip@php.net | Date: | Tue, 24 Jun 2003 03:04:48 +0000 |
| Subject: | #24303 [Asn]: Google search contains a lot of redirects back to Google | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-18908@lists.php.net to get a copy of this message | ||
ID: 24303
Updated by: philip@php.net
Reported By: vlanard at cal dot berkeley dot edu
Status: Assigned
Bug Type: Website problem
Operating System: Windows 2000
PHP Version: 4.3.1
Assigned To: goba
New Comment:
Btw, the following does work (using a mirror, not www):
http://uk.php.net/control-structures
Previous Comments:
------------------------------------------------------------------------
[2003-06-23 22:02:59] philip@php.net
This bug is valid. Let's be specific and use control as an example:
http://www.google.com/search?q=control+site:www.php.net&l=en
This yields the following results from Google:
1) http://www.php.net/ref.outcontrol *
2) http://www.php.net/control-structures
3) http://www.php.net/de/blog
4) http://www.php.net/elseif *
5) http://www.php.net/en/manual
6) http://www.php.net/session_cache_limiter *
The URL's with * work. The only one I see that really should work is
#2 as apparently this shortcut used to work and it should work and
present the following:
http://www.php.net/manual/en/control-structures.php
Assigning to Goba. Regarding #5, it should be manual/en, not sure what
Google is thinking there :)
------------------------------------------------------------------------
[2003-06-23 18:14:15] vlanard at cal dot berkeley dot edu
Ok, you're right that some of the Google links do work. I clicked on
several and none of them worked. A lot of them do simply resubmit a new
Google search though, perhaps because of the way you're doing the
Google redirects?
In the "control" example I cited in this bug, of the first 5 Google
results that come back, 3 of them (links #2,3,5) submit another Google
search, rather than linking into your site. I reported this bug
initially after every link I happened to click on was one of the Google
loopbacks.
Definitely not the severity of the initial bug I reported. Sorry. But
still rather funky... I've changed the bug title accordingly. Perhaps
this is just a known limitation of the redirect system, so if you want
to leave it as is, at least you now know it's happening. I won't pile
up any more comments for you. :-)
------------------------------------------------------------------------
[2003-06-23 17:45:30] alindeman@php.net
Umm, the arguments are in fact in the correct order and the search
works as expected. I went through the exact steps you posted and
everything works as expected. Re-open if you can provide steps that
actually represent a problem...
------------------------------------------------------------------------
[2003-06-23 17:34:13] vlanard at cal dot berkeley dot edu
Description:
------------
The search parameters being sent to the Google website from your inline
search (across whole site/online documentation, etc.) are passed in the
wrong order. As a result, any Google search results found do not link
users into the PHP.net website when clicked, but rather resubmit
another search to Google. It's like an infinite loop of Google
searches. Simply reordering the Google parameters solves the problem.
The parameters currently being passed to Google with a sample query of
"control" are:
control site:www.php.net
The correctly ordered parameters should be:
site:www.php.net control
"site:" apparently needs to be the first argument.
Reproduce code:
---------------
1. Go to http://www.php.net/manual-lookup.php
2. Enter search for term "control" in "online documentation [en]" and
click the arrow to submit the search.
3. Note that you get a Google page of results.
4. Click on any of the Google results and note that it just submits
another Google search rather than linking you back to the PHP.net
website.
5. Change order of Google search parameters so that site:www.php.net is
the first argument, and resubmit. Note that it now works correctly.
Expected result:
----------------
Google links should bring user into the PHP.net site.
Actual result:
--------------
Google links just submit another Google search.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24303&edit=1