X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

How can I get Firefox to stop using www. from a cached prefix?

Posted

In the past month or so, I've noticed that Firefox has begun prefixing "www." to the address of my web site when I type in its address without the "www.," which is not needed: when I type "smbhax.com" in the address bar--and without selecting any of the auto-complete suggestions that appear below it--I'm taken to "http://www.smbhax.com"; but I don't want that useless "www" to be there.

This seems to be some sort of URL caching feature, and I guess a new-ish one. I was able to reproduce the problem with another site of mine that shouldn't need the "www":

  1. Type "paleface.net" in the address bar. I'm taken to "http://paleface.net," as expected.
  2. Type "www.paleface.net" in the address bar. I'm taken to "http://www.paleface.net," as expected.
  3. Type "paleface.net" in the address bar.

--> Now I'm taken to "http://www.paleface.net" instead of "http://paleface.net," which is the address I typed and the address to which I wanted to go.

I've tried turning off both keyword.enabled and browser.fixup.alternate.enabled in about:config as described here -- https://support.mozilla.org/en-US/kb/search-web-address-bar -- and the problem still occurs.

I've used Firefox for years with these sites, and I didn't see this automatic adding of "www." until the past month or so.

I have *not* tried clearing my browser history etc to see if that temporarily fixes the problem.

Update: I've tried the "Forget about this site" procedure suggested below, and it does clear the problem on a single-site basis...until you've gone to that domain with a "www." prefix again at some point.

Modified by smbhax

Additional System Details

This happened

Every time Firefox opened

This started when...

after Firefox updated itself a month or two ago.

Installed Plug-ins

  • Shockwave Flash 11.4 r402
  • Shockwave Flash 11.3 r300
  • PlayStation(R)Network Downloader Check Plug-in
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • Google Update
  • DivX Web Player version 2.0.3.4
  • Adobe PDF Plug-In For Firefox and Netscape
  • CANON iMAGE GATEWAY Mycamera Plugin
  • Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
  • DRM Netscape Network Object
  • DRM Store Netscape Plugin
  • Npdsplay dll

Application

  • User Agent: Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20100101 Firefox/15.0

More Information

Application Basics
Name
Firefox
Version
15.0
User Agent
Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20100101 Firefox/15.0
Profile Folder
Show Folder
Enabled Plugins
about:plugins
Build Configuration
about:buildconfig
Crash Reports
about:crashes
Memory Use
about:memory
Extensions
Name
Version
Enabled
ID
Favicon Inserter
1.3
true
faviconinserter@sonco.com
RSS Icon
1.0.6
true
kitsuneymg@gmail.com
Session Manager
0.7.9
true
{1280606b-2510-4fe0-97ef-9b5a22eafe30}
FiddlerHook
2.3.7.7
false
fiddlerhook@fiddler2.com
Right Links
0.3.6.3
false
{B5F5E8D3-AE31-49A1-AC42-78B7B1CC5CDC}
Important Modified Preferences
Name
Value
accessibility.typeaheadfind.flashBar
0
browser.cache.disk.capacity
1048576
browser.cache.disk.smart_size.first_run
false
browser.cache.disk.smart_size_cached_value
1048576
browser.fixup.alternate.enabled
false
browser.fixup.alternate.prefix
zzz.
browser.history_expire_days.mirror
180
browser.history_expire_days_min
30
browser.places.importBookmarksHTML
false
browser.places.smartBookmarksVersion
4
browser.startup.homepage
http://my.yahoo.com/
browser.startup.homepage_override.buildID
20120824154833
browser.startup.homepage_override.mstone
15.0
browser.tabs.autoHide
true
browser.tabs.insertRelatedAfterCurrent
false
browser.zoom.full
false
extensions.lastAppVersion
15.0
font.minimum-size.x-western
16
font.size.fixed.x-western
16
gfx.blacklist.suggested-driver-version
257.21
keyword.enabled
false
network.cookie.cookieBehavior
0
network.cookie.prefsMigrated
true
network.http.max-connections-per-server
128
network.http.max-persistent-connections-per-server
128
places.database.lastMaintenance
1346813543
places.history.expiration.transient_current_max_pages
53631
places.history.expiration.transient_optimal_database_size
85809232
places.last_vacuum
1296652351
plugin.disable_full_page_plugin_for_types
audio/mpeg,audio/basic
privacy.clearOnShutdown.cookies
false
privacy.cpd.cookies
false
privacy.cpd.downloads
false
privacy.cpd.extensions-sessionmanager
false
privacy.cpd.formdata
false
privacy.cpd.history
false
privacy.cpd.sessions
false
privacy.sanitize.migrateFx3Prefs
true
privacy.sanitize.timeSpan
0
security.warn_submit_insecure
false
security.warn_submit_insecure.show_once
false
security.warn_viewing_mixed
false
security.warn_viewing_mixed.show_once
false
Graphics
Adapter Description
NVIDIA GeForce 8300 GS
Vendor ID
0x10de
Device ID
0x0423
Adapter RAM
Unknown
Adapter Drivers
nv4_disp
Driver Version
6.14.11.6371
Driver Date
9-17-2007
WebGL Renderer
Blocked for your graphics driver version. Try updating your graphics driver to version 257.21 or newer.
GPU Accelerated Windows
0. Blocked for your graphics driver version. Try updating your graphics driver to version 257.21 or newer.
JavaScript
Incremental GC
0
Library Versions
Expected minimum version
Version in use
NSPR
4.9.1
4.9.1
NSS
3.13.6.0 Basic ECC
3.13.6.0 Basic ECC
NSS Util
3.13.6.0
3.13.6.0
NSS SSL
3.13.6.0 Basic ECC
3.13.6.0 Basic ECC
NSS S/MIME
3.13.6.0 Basic ECC
3.13.6.0 Basic ECC

cor-el
  • Top 10 Contributor
  • Moderator
10752 solutions 96760 answers

Helpful Reply

You can remove all stored data from a specific domain via "Forget About This Site" in the right-click context menu of an history entry (Show All History or History sidebar).

Using "Forget About This Site" will remove everything like bookmarks, cookies, passwords, cache, history, and exceptions from that domain, so be cautious and if you have a password or other data from that domain that you do not want to lose then make a note of those passwords and bookmarks. You can't recover from that "forget" unless you have a backup of the affected files.

It doesn't have any lasting effect, so if you revisit such a 'forgotten' website then data from that website will be saved once again.

Question owner

I tried that, and it does clear the issue on a single-site basis--until you've hit that domain with a "www." prefix again at some point. It isn't a true solution to the problem, but it's good to know! Thanks for pointing it out.

Modified by smbhax

cor-el
  • Top 10 Contributor
  • Moderator
10752 solutions 96760 answers

Helpful Reply

Did you try to set the Boolean pref browser.urlbar.autoFill to false on the about:config page?

See "Prevent Firefox from automatically completing URLs":

Question owner

Ah, setting browser.urlbar.autoFill to False in about:config prevents the "www." prefix behavior. Of course, I don't really want to turn autofill off because I rely on it a lot.

I guess maybe there was a recent change to how autofill works, because I've always had it on and it didn't use to do this.

Also, it works somewhat unusually in this case because the "www." does not appear as you are typing the address; it only appears--along with "http://"--after you hit ENTER. So as far as you can tell, you're set to go to [domain].com correctly, but then you hit ENTER and find out Firefox had other ideas about where to send you. It isn't so much a fill as a switcheroo.

Modified by smbhax

LaurieMcC 0 solutions 1 answers

I am having the same issue. If I copy in a URL that starts with "http://" and then hit enter, Firefox swaps the "http://" for "www" so I get an error message that the page or server or whatever can't be found. I've tried everything that's been suggested here and nothing works for me. I'm using version 10.0.12. This wasn't an issue with earlier versions. It's back to IE I go until I can find a resolution for this issue. Extremely frustrating.