Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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

  • 5 svar
  • 1 har detta problem
  • 2 visningar
  • Senaste svar av 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

Vald lösning

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.

Läs svaret i sitt sammanhang 👍 0

Alla svar (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

Vald lösning

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