Closed Bug 623142 Opened 14 years ago Closed 14 years ago

Mozilla.com's Getting Started page uses SUMO's search.php URL

Categories

(www.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Unassigned)

References

()

Details

http://www.mozilla.com/en-US/firefox/central/ points its SUMO search widget to search.php (http://support.mozilla.com/en-US/search.php?where=all&locale=en-US&q=instant&x=0&y=0), but it should be doing a search like so:

http://support.mozilla.com/en-US/search?q=instant

I don't know if the solution is to redirect search.php and include the query term, or just to fix Mozilla.com (or both, for other potential consumers/includes).
(In reply to comment #0)
> I don't know if the solution is to redirect search.php and include the query
> term, or just to fix Mozilla.com (or both, for other potential
> consumers/includes).

We should fix mozilla.com. We did redirect search.php for several months after the initial switch.
This search form has two hidden fields that are adding the "?where=all&locale=en-US" to the search:

▸   <input type="hidden" name="where" value="all" />
▸   <input type="hidden" name="locale" value="en-US" />

Should both of these remain?
(In reply to comment #2)
> ▸   <input type="hidden" name="where" value="all" />

Drop this one.

> ▸   <input type="hidden" name="locale" value="en-US" />

I assume the value depends on the current locale, right? There are a couple of options:

1) Change the name from "locale" to "language." This will make SUMO determine its UI language based on the user's Accept-Language header, but show results in from the specified language.

2) Change the name from "locale" to "lang," which will force the SUMO UI, and results, into whatever value is specified here.

I imagine (2) is closer to the expected behavior.
Fixed in trunk (using method (2) from comment #3) in r80211.

James, look ok? The X and Y vars are a side-effect of the submit button being an image - the browser sends the x/y coords of where an image submit button was clicked.
Keywords: qawanted
Looks fine to me. The x and y values will be ignored.
Merged to stage in r80212.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.0
Pushed to production

r80672 | jlong@mozilla.com | 2011-01-12 17:16:20 -0500 (Wed, 12 Jan 2011) | 5 lines
Keywords: push-needed
Verified FIXED on prod.
Status: RESOLVED → VERIFIED
Component: www.mozilla.org/firefox → www.mozilla.org
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.