Search Support

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 replies
  • 1 has this problem
  • 1213 views
  • Last reply by 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

Chosen solution

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.

Read this answer in context 👍 0

All Replies (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

Chosen Solution

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