Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently upgraded to FF4 and want to change the behavior of the address bar. Right now if I start to type, for example, "websitename", it will suggest every url with 'websitename' in it. So far so good.

If I start by typing "local-websitename" {I use the local- prefix for sites I'm developing on my local server} it doesn't narrow the suggested list to that subdomain. It still suggests every 'websitename' it has in the history.

I keep ending up going to the live site when I mean to be on the local site, and vice-versa. I am pretty sure the behavior used to be that if you started typing a specific subdomain, it wouldn't suggest other subdomains (or at least, not at the top of the list) over the one that was specified.

Any ideas on how to change this behavior back? Thanks!

share|improve this question
up vote 0 down vote accepted

Take a look at browser.urlbar.matchBehavior property in about:config (as well as all browser.urlbar.* properties).

Options 2 or 3 might be what you want.

share|improve this answer
It looks like option 3 is it! Thanks for the tip! – Eileen May 27 '11 at 14:22

Consider having a local hosts file, e.g.:


Then get a host switcher for Firefox, e.g. to switch between the live and the development environment.

I admit this is not the answer you were expecting, however, in developing this way you are less likely to have surprises when you go live due to the development URL accidentally being hard-coded in a file/database field.

share|improve this answer
This isn't really an option for me -- I often have one window with all my local development tabs in it, and another full of live site tabs. I need to be able to get to both sets at all times. – Eileen May 27 '11 at 14:20
...I get around that problem with a virtual machine running IE and bridged network adaptor. – ʍǝɥʇɐɯ May 27 '11 at 14:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .