3

When I type in http://example/ firefox rewites the url to http://www.example.com/. Is there any way to fix this behavior without recompiling firefox? I suspect something in about:config will help, but I am not sure what, and I'm somewhat leery of randomly changing things just to see if they have the effect I want.

Edit:

What I would like is for firefox to try to make a http request to example (which it does, usually finding the address my etc/hosts file provides) and then, if unable to connect, to fail with a "could not connect" error, with example still in the address bar. Its current behavior is to then try to look up www.example.com, which tends to result in a 'valid' site, and I get a screen full of some domain squatter's dross and have to remove the www. and .com from the address before I can fix my typo.

David X
  • 484

1 Answers1

4

I believe you want to set browser.fixup.alternate.enabled and perhaps keyword.enabled to false. See also this article and the about:config docs.

(Note: untested.)

Reid
  • 486