#24303 [Bgs->Opn]: Google search contains a lot of redirects back to Google

From: Date: Mon, 23 Jun 2003 23:14:16 +0000
Subject: #24303 [Bgs->Opn]: Google search contains a lot of redirects back to Google
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-18906@lists.php.net to get a copy of this message
ID: 24303 User updated by: vlanard at cal dot berkeley dot edu -Summary: Google search not functioning correctly - search parameters in wrong order Reported By: vlanard at cal dot berkeley dot edu -Status: Bogus +Status: Open Bug Type: Website problem Operating System: Windows 2000 PHP Version: 4.3.1 New Comment: 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. :-) Previous Comments: ------------------------------------------------------------------------ [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

« previous php.mirrors (#18906) next »