When a user types a search term in the Firefox location bar (address bar, awesome bar) it is determined if the entered term is an actual web address or a search term. If it is a search term a search using the default search engine is performed. If it is a web address the web address is loaded directly.
There is one additional aspect to this that need further explanation. How Firefox distinguishes addresses from search terms. When is what you enter seen as a web address, and when is it seen as a search?
Firefox assumes that all phrases that make use of at least one period are web addresses and will try to load them even if they do not make sense at all, for instance if they do not use a valid domain extension.
This can be quite frustrating if you want to look up a file name in a search engine for example, as you will get a not found error when you enter it directly.
You can test that yourself by entering svchost.exe in the address bar and hit enter afterwards. Firefox will try to load the website svchost.exe even though the .exe domain extension does not exist.
There is no Firefox setting or add-on that can restrict extensions to known domain extensions but there is another way to directly search for terms with periods in Firefox using the location bar.
All that needs to be done is to place a "?" before the search term. While a search for svchost.exe results in a page not found error in Firefox, a search for ?svchost.exe performs the search using the default search engine so that results are displayed right away in the browser.
Please note that this works regardless of search engine that you have selected in the browser. Check out our full guide to Firefox's address bar for additional tips and information.Advertisement
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.