Add a trailing slash to urls in Firefox again

Martin Brinkmann
Feb 11, 2013
Updated • Feb 11, 2013

As a Firefox user you may remember that Mozilla some time ago decided to "optimize" the address displayed in the browser's urlbar by removing the http:// protocol information from the beginning and the / slash at the end for root domains. So, instead of seeing in the address bar, Firefox suddenly only displayed in there. Mozilla removed the favicon from the urlbar as well.

It is not really clear why Mozilla dumbed down the display but it is likely that the developers once again looked at how Google Chrome is handling the display of urls to replicate it exactly. Some have said that it is for the better of the user, that users do not understand how urls work and that less characters in the urlbar helps visualize the domain name to them. I'm not a fan of dumbing down as it would be far better to educate users about urls instead of just providing them with a limited display that is hiding some information.

One of the things that has irritated me lately is the removal of the trailing slash on root domains. I sometimes click on the url bar to add path information behind the trailing slash. With it being removed in Firefox, I now have to add that slash before I can write or paste the path information in the address bar. It may sound like a minor thing but it is actually a very frustrating experience.

firefox url with http trailing slash

What I like about Firefox is that it gives you options to undo most of what the developers have changed in the browser in recent time. While it may not be the case for all changes, you get modification options for many of them including the dumbed down address bar.

Back when Mozilla announced the change I published a guide that explained how you can add the http:// protocol back to the Firefox address bar, but what I failed to mention was that the very same workaround added the trailing slash back to the browser's address bar as well.

So, to get the trailing slash back for root domains you would do the following:

  1. Type about:config into the address bar and hit enter.
  2. Confirm that you will be careful if you load the page for the first time.
  3. Type in browser.urlbar.trimURLs
  4. Double-click the entry to set it to false

You should immediately notice that both http and the trailing slash are added back to addresses in the Firefox browser.


Tutorials & Tips

Previous Post: «
Next Post: «


  1. alph said on November 1, 2015 at 10:49 am

    Thank you,

    this shall be the default setting.
    (otherwise we will reach the idiocracy very soon, but this seems to be the intention)

  2. Finvana said on February 12, 2013 at 10:47 am

    I found the Luddite UI addon to be really helpful:

    It lets you change lots of silly “innovations”.

  3. batman said on February 12, 2013 at 10:37 am

    decide i mean, sorry.

  4. batman said on February 12, 2013 at 10:37 am

    this should not be up to the browser to device, but rather the webserver.

  5. Bruce Tech Guy said on February 12, 2013 at 7:09 am

    Great tip.

    The other change that I always make when installing or updating Firefox for myself or others I work with, is to turn off the gray-out of the address elements (called Domain highlighting):
    Find “browser.urlbar.formatting.enabled” in the about:config window
    Double click to change value to FALSE.

  6. Ken Saunders said on February 12, 2013 at 4:41 am

    I’ve been using Locationbar² for years.²

    * Puts emphasis on the domain to reduce spoofing risk
    * Linkifies URL segments (press Ctrl, Meta, Shift or Alt)
    * More URL formatting options configurable

    There’s a few bad reviews for it, but it works perfectly fine for me.
    There’s also this userstyle

    I don’t use that userstyle any longer (I use my own), but it’s a decent one.

  7. Rafael said on February 12, 2013 at 2:58 am

    Opera’s way of dealing with this is much better…
    It hides these parts of the URL, but when you click / focus the address field it displays the full URL (apart from giving the setting to disable the hiding) so it’s a win-win.

  8. Uhtred said on February 11, 2013 at 8:19 pm

    Thanks Martin, nice to have a full url with trailing slash again.

  9. Transcontinental said on February 11, 2013 at 7:12 pm

    I’ve heard many good comments regarding Pale Moon. Requires a modern “infrastructure” though. Here with good old Charly we ain’t got the means, at this time!

  10. George said on February 11, 2013 at 5:19 pm

    Count me as another fan of Palemoon :-)

  11. noswal said on February 11, 2013 at 4:00 pm

    Another thumbs up for Pale Moon. Switched about 6 months ago and hardly ever load FireFox anymore.

  12. JimT said on February 11, 2013 at 3:30 pm

    +1 for Pale Moon. I made the switch early last summer, and have never looked back.

  13. beemeeup said on February 11, 2013 at 1:48 pm

    Other than a few speed improvements here and there, I have yet to here anything good about recent changes to Firefox. Nowadays it’s just about taking away more things people rely on, fixing things that not only wasn’t broken but actually useful to begin with.

    This is why I stick with Pale Moon. At least then I can be sure that retarded changes won’t be implemented by default, all while remaining up to date with the latest security and performance enhancements.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.