I'd like to change the default behavior of the location bar in Firefox to search Google unless I specifically enter a domain name, and I don't mean just changing the location bar from Google's 'feeling lucky' to a normal Google SERP.

For example, typing in Superuser will take me to the Google SERP but typing in Superuser.com will take me to the website.


Something else to try is going to about:config and then changing the keyword.URL value.

By default it is set to this:

Try changing it to this and see if it makes a difference:

  • Molly ownage. =) – Nathaniel Jan 29 '10 at 1:48

kinda like the omnibar? Single search/url bar, which searches to a search engine of your choice unless its an exact url.


I have Firefox 3.5.2 and this is the default behavior. I haven't set up any features or settings. Maybe you have an old version, prior to them adding the 'smart bar' feature.. try updating here http://www.mozilla.com/en-US/firefox/personal.html

  • Interesting. I have that version and it takes me to Wikipedia via a Google search. It is definitely performing a Google "I'm Feeling Lucky" search. – jasonh Sep 10 '09 at 1:35
  • 1
    kpoehls is right, this is the default behaviour, maybe you have continiously updated from an older version with different default settings. – Molly7244 Sep 10 '09 at 2:06

For user who prefer to see a list of matching websites or search results instead of auto redirect to a web page when entering keywords in the Firefox’s link location bar, it’s possible to change the Firefox behavior by modifying its configuration using steps below.

Enter about:config into the address bar.

Locate keyword.url or type keyword.url into “Filter” text box to search for it.

Double click on the line of “keyword.url”.

By default, the string value for “keyword.url” is “about:neterror?e=query&u=”. To display search results instead, replace the string with one of the following search statements, depending on the search engine you prefer (e.g. Google: http://www.google.com/search?q=)

Click OK when done.

Source & more info

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.