How To Change The Firefox Address Bar Search Provider

Martin Brinkmann
Jun 6, 2010
Updated • Dec 30, 2013
Firefox, Search
|
22

The default address bar search engine in the Firefox web browser is Google Search. This means that any search phrase that the user enters directly into the Firefox address bar may result in a search on Google instead of a website that is opened directly in Firefox.

To be precise: any text that the user types in the location bar that cannot be mapped to a domain name is searched on Google Search.

Update: Please note that Mozilla changed the feature described below in Firefox 23. All versions from this point onwards don't support the keyword.url parameter anymore. You can restore it however with the help of a browser extension as described in this article.

Some Internet users may prefer to have a different search engine as the default in Firefox, for instance if their favorite search engine is Bing or another search engine that is not Google. This can be done easily in the advanced configuration of Firefox.

To do that type about:config in the Firefox address bar. First time users need to verify that they are carefully from this point on, everyone else will see the configuration parameters right away.

Enter keyword.url in the filter field, this should return one result:

firefox default search
firefox default search

The value of the parameter should display a Google Search url as the default value. This can easily be changed to another search provider by double-clicking the line and entering a new url that points to a search provider in the form that opens up.

Note that this is completely independent of the browser's search bar that may be displayed to the right of the location bar in the interface.

You can't just add the url that you would enter to visit the search engine there, e.g. yahoo.com or wikipedia.com because the search - normally - uses special parameters. The best way to discover the correct url would be to perform a search at your search engine of choice and copy / paste that url after modifying it a bit. If you search at Yahoo you discover lots of irrelevant option parameters that do not need to be added.

address bar search
address bar search

Here is a selection of alternative search engines that can be added as the default search engine:

  • Bing: http://www.bing.com/search?q=
  • Google Browse By Name: http://www.google.com/search?ie=UTF-8&sourceid=navclient&gfns=1&q=
  • Google I'm Feeling Lucky: http://www.google.com/search?ie=UTF-8&btnI=&q=
  • Yahoo: http://search.yahoo.com/search?ei=ISO-8859-1&p=
  • DuckDuckGO: https://duckduckgo.com/?q=
  • IxQuick: http://ixquick.com/do/metasearch.pl?cat=web&query=
  • Twitter: http://search.twitter.com/search?q=

Other search engines can be added as easily. All it usually takes is to perform a search on the search engine of your choice and copy the url without the search phrase into the value field in Firefox.

Update: You can also check out the Mycroft Project which offers a big list of different search providers. The list includes popular providers like Facebook, YouTube, Google, Bing or Wikipedia plus a lot of lesser known search providers that may be more specialize than the ones mentioned.

On a side note: I decided to switch to Bing. Why? Well it mainly has something to do with the current update of Google's search engine ranking algorithm which does not rank my sites on top if I perform a title search but scraper sites (sites that copy contents from my site). Something has gone terribly wrong here.

Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. maureen said on December 31, 2013 at 11:04 pm
    Reply

    http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q= doesn’t seem to work anymore. Like if I type CNN into the address bar, it takes me to Google search results rather than directly to CNN.com

    1. Martin Brinkmann said on December 31, 2013 at 11:15 pm
      Reply

      Hm, it should automatically take you to CNN if you type in that query. Have you installed this extension? https://addons.mozilla.org/en-US/firefox/addon/keywordurl-hack/

      There is also an extension “Browse by Name”, but I have not tested it: https://addons.mozilla.org/en-US/firefox/addon/browse-by-name/

      1. maureen said on January 1, 2014 at 11:06 am
        Reply

        Just installed them. Now it works. Thanks!

  2. Uhtred said on April 22, 2013 at 2:40 pm
    Reply

    A recent installation of some security software annoyingly modified my address bar search, happily this keyword.URL edit still works on Firefox build 20.0.01

  3. asdf09n said on February 11, 2013 at 8:09 am
    Reply

    This does not work for me. Well, it does, but only partially. Searching in Firefox or Tor browser will not work when you try to search a single word. Searching something like “firefox” or “singleword” will try to open “http://firefox/” or “http://singleword/” which is obviously nothing. If I want to search for something with one word it would have to be something like “firefox search” so only a search with multiple words will search properly with the “search.com/?q=firefox search”

    Apparently I’m the only person in the world with this problem.

    1. goat said on July 26, 2014 at 11:56 am
      Reply

      I have this problem too! Can’t find a solution anywhere…any help much appreciated!

  4. London said on July 20, 2012 at 7:38 am
    Reply

    when i type-in about:config in the search bar, it google’s it, so i cant get to the right menu…

  5. JohnnyChimera said on February 3, 2012 at 4:06 pm
    Reply

    Martin,

    you are my best friend!!!!

    Some shity plugin once changed this to a shity search engine and I couldn’t get it fix up until now. Thanks a lot!

    Johnny

  6. Griff said on June 18, 2011 at 6:59 pm
    Reply

    This was incredibly helpful, thank you! For those that are wondering, the Google one is: http://www.google.com/search?=

    If you have another favorite, Dogpile, for instance, it’s simple to find its search URL. Just type a query into the original search bar — the search URL is typically anything before that query. To check, replace the query with another by directly typing it into the address bar. If that gets you a pageful of results on your new query, you can be reasonably sure that that’s the URL to tell Firefox!

  7. Matt said on March 31, 2011 at 2:39 am
    Reply

    Thank you. Was very simple. Worked perfectly.

  8. George said on March 16, 2011 at 4:39 am
    Reply

    Uh this did not work I typed in http://www.bing.com/search?q= like you suggested and it does not do anything but say this!!!
    Firefox doesn’t know how to open this address, because the protocol (bing) isn’t associated with any program.

    So? anymore suggestions moron?

  9. Boris said on February 7, 2011 at 12:29 pm
    Reply

    what is the default google one because winamp changed it to their custom search and i need to change it back…
    please help

  10. ChangeSerachprovider said on August 14, 2010 at 2:11 am
    Reply
  11. Locutus said on June 6, 2010 at 9:33 pm
    Reply

    Ouch, I just copied and pasted part of this article into Google and found the content stealers. Here’s an article that you may want to read about stopping such people:
    http://lorelle.wordpress.com/2006/04/10/what-do-you-do-when-someone-steals-your-content/

    1. Martin said on June 7, 2010 at 11:28 am
      Reply

      Locutus, that article looks to be really helpful, thanks a lot.

  12. iJemuel said on June 6, 2010 at 4:29 pm
    Reply

    Thank You, somehow when I installed ilivid it changed it and I didn’t know how to change it back..

    Thanks

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.