This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Buscar en Ayuda

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I prevent Firefox to use: www.foo.bar instead of foo.bar?

  • 5 respuestas
  • 1 tiene este problema
  • 1 visita
  • Última respuesta de RonZt

more options

When I enter: foo.bar in the url/search box in the firefox android browser, it will invariably be converted to: www.foo.bar. FYI: adding a specific page does not alter this behaviour. Setting: browser.urlbar.autocomplete.enabled to false does not stop this. Is there a way to prevent Firefox on Android to display this unwanted behaviour? Firefox on Windows and Linux does not change the url entered. Why (this difference)?

Thanks in advance for your answer.

Ron

When I enter: foo.bar in the url/search box in the firefox android browser, it will invariably be converted to: www.foo.bar. FYI: adding a specific page does not alter this behaviour. Setting: browser.urlbar.autocomplete.enabled to false does not stop this. Is there a way to prevent Firefox on Android to display this unwanted behaviour? Firefox on Windows and Linux does not change the url entered. Why (this difference)? Thanks in advance for your answer. Ron

Solución elegida

Does it help to set browser.fixup.alternate.prefix to an empty string or set browser.fixup.alternate.enabled to false?

If there are pages in the history (don't know about the cache) with a www. prefix then Firefox might prefer those.

Leer esta respuesta en su contexto 👍 0

Todas las respuestas (5)

more options

Ronzt, Only the website owner can do that, FF cannot force you to go for www version or non www version of a website.

for example you cannot visit http://google.com it will be redirected to http://www.google.com

and in case of twitter you can only visit http://twitter.com

got it.

A website can exist in http://www.example.com or http://example.com , in fact both are same for us humans, but search engine bots take them as different and they will be treated as duplicate content.

In order to prevent that web masters according to their choice select a version and redirect visits to other on to the one they are interested in.

Check My blog post for a little more info - http://techstream.org/Web-Development/SEO/URL-Normalization

Thank you

more options

Solución elegida

Does it help to set browser.fixup.alternate.prefix to an empty string or set browser.fixup.alternate.enabled to false?

If there are pages in the history (don't know about the cache) with a www. prefix then Firefox might prefer those.

more options
  1. cor-el i didn't get what you meant...?
more options

As I use: <machine>.<organisation> to connect to machines in my LAN, it doesn't help if Firefox changes: 'foo.bar' into: 'www.foo.bar'. Besides, this effect is only seen in Firefox for Android not in the windows or linux version. The solution for me lies in the answer user: cor-el suggested.

Thanks for your reply!

Greetz,

RonZt

more options

Hi Cor-el,

setting: browser.fixup.alternate.enabled to disabled does the trick for me. Thanks!

Greetz,

RonZt