Closed Bug 1324404 Opened 9 years ago Closed 9 years ago

Redirect /search to Lithium's search page

Categories

(support.mozilla.org :: Lithium Migration, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: giorgos, Assigned: scott.riley, NeedInfo)

References

Details

Redirect - /search - /search/ - /search/advanced/ - /search/advanced to Lithium's search page while respecting user's Accept-Language header, e.g. a user with German as preferred language should get redirected to the German search page.
Flags: needinfo?(tyson.nunemacher)
Flags: needinfo?(musa.musa)
Are there already links to /search somewhere which need a 301 redirect? I guess I don't understand the use case. The language of the text keys on the search page will be governed by a user's profile language. The language of content returned by a search can be filtered with a category filter.
Also, if you do a search from within a language-specific category, which are our top-level categories containing all sub-categories, boards and article content for a language, you'll be searching for articles in that language as a matter of course.
(In reply to Tyson Nunemacher from comment #1) > Are there already links to /search somewhere which need a 301 redirect? I > guess I don't understand the use case. This is a very simple redirect request of /search to Lithium's search page. There are links everywhere pointing to /search. Since search -as with all pages- are hit by non-logged in users mostly Accept-Language is a method to identify the language of the user and provide relevant content without extra user action, e.g. selecting language for UI and/or filtering by category.
The redirect is working. The UI language is chosen as everywhere is Lithium. Marking this fixed.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.