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

VERIFIED FIXED in 1.0

Status

www.mozilla.org
General
VERIFIED FIXED
7 years ago
6 years ago

People

(Reporter: stephend, Unassigned)

Tracking

unspecified

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

7 years ago
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
Last Resolved: 7 years ago
Resolution: --- → FIXED
(Reporter)

Comment 7

7 years ago
qa-verified-trunk: we're now submitting https://support.mozilla.com/en-US/search?q=instant&y=0&x=0
Keywords: qawanted
(Reporter)

Updated

7 years ago
Keywords: push-needed

Updated

7 years ago
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
(Reporter)

Comment 9

7 years ago
Verified FIXED on prod.
Status: RESOLVED → VERIFIED
(Assignee)

Updated

6 years ago
Component: www.mozilla.org/firefox → www.mozilla.org
Product: Websites → Websites
(Assignee)

Updated

6 years ago
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.