I figured it has been a little while since we’ve got a good blogging discussion going, so here is today’s topic.   Do you still use the WWW prefix when setting up websites on your domains?

For some background on what I’m talking about, here is an excerpt from Wikipedia:

The letters “www” are commonly found at the beginning of Web addresses because of the long-standing practice of naming Internet hosts (servers) according to the services they provide. So for example, the host name for a Web server is often “www”; for an FTP server, “ftp”; and for a USENET news server, “news” or “nntp” (after the news protocol NNTP). These host names appear as DNS subdomain names, as in www.example.com.

This use of such prefixes is not required by any technical standard; indeed, the first Web server was at “nxoc01.cern.ch”, and even today many Web sites exist without a “www” prefix. The “www” prefix has no meaning in the way the main Web site is shown. The “www” prefix is simply one choice for a Web site’s host name.

Some Web browsers will automatically try adding “www.” to the beginning, and possibly “.com” to the end, of typed URLs if no host is found without them. Internet Explorer, Firefox, Safari, and Opera will also prefix “http://www.” and append “.com” to the address bar contents if the Control and Enter keys are pressed simultaneously. For example, entering “example” in the address bar and then pressing either just Enter or Control+Enter will usually resolve to http://www.example.com, depending on the exact browser version and its settings.

Though it is just my personal preference, you might notice that Hack WordPress does NOT use the www, nor do any of the websites I’ve setup over the past few years.  Anymore with 301 redirects (which for WordPress users, it is now built into the software) and today’s modern internet browsers, I don’t feel that it is necessary any longer and I think sites look better without it.

According to Google it doesn’t matter which you choose, but they want you to stick with your choice so your inbound links are consistent.  Overall, it really comes down to a preference thing.   Do you use the www in your domains?

Want automatic updates? Subscribe to our RSS feed or
Get Email Updates sent directly to your inbox!
Digg This | Stumble it | Add to Del.icio.us | | Print This

There Are 22 Responses So Far. »

  1. 1 Frank Hellerup Madsen
    Wednesday, August 6th, 2008 at 4:39 am

    As a general rule, I do not use the www-prefix on my own domains.

    Neither do I type it, and this sometimes brings interesting results.

    A surprising number of websites returns an error page, if you type the URL without http://www. Not just personal or hobby websites, but some belonging to large cooperations as well.
    My worst example is one of the largest political parties in Denmark that for the first week of a four-week election campaign returned an error message if you type the party name without the www-prefix. Not even a custom made error message pointing visitors in the right direction, but a standard server error message.

  2. 2 No More Compromise
    Wednesday, August 6th, 2008 at 5:04 am

    Personally I like the “www” beginning. While I don’t type it into Firefox (I let it autofill) when I am actually looking at a domain I like the balance of the 3 letters at the end (.com) with the 3 at the beginning (www.) which to me just “looks nicer”. Weird, I know, but there you go.

    Classically, I think, people are also used to a http://www. beginning to a domain. I think if you miss it off less savvy Internet users might wonder why and what was going on. Trust is important.

    Just my 2 cents…

  3. 3 Andrew
    Wednesday, August 6th, 2008 at 8:02 am

    I’m not sure it matters that much. If articles are to be believed everyone just types the name into Google don’t they?

  4. 4 Doug
    Wednesday, August 6th, 2008 at 8:38 am

    I prefer to leave off the ‘www’. It’s just not necessary unless the server is set up wrong. BTW, here is code you can put into an .htaccess file (if you use the Apache webserver) to automatically redirect visitors who type in ‘www’ to the same address without the ‘www’. This is a better setup than having duplicate content at both addresses.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www\.brookstonepark\.org$ [NC]
    RewriteRule ^(.*)$ http://brookstonepark.org/$1 [R=301,L]
    </IfModule>

  5. 5 Tanner Hobin
    Wednesday, August 6th, 2008 at 10:37 am

    The lazy developer in me says four extra characters that serve no purpose needs to be left out, so no http://www. for my sites. I love that WP automatically redirects whatever version (www. or non-www.) of the domain is instantiated in the settings.

  6. 6 Big Blogger
    Wednesday, August 6th, 2008 at 11:10 am

    Just a sidenote to the comment of Doug.

    Of course, when copying&pasting the code provided by Doug, you’ve to replace http://brookstonepark.org/ with your own domain name ;)
    ciao
    alex

  7. 7 Jean-Baptiste Jung
    Wednesday, August 6th, 2008 at 3:54 pm

    I’m using it. Honestly, I never really asked myself which one I prefer. With 301 redirect, nevermind you type www or not, you’ll see the same website.
    Thanks Doug for the usefull Apache tip :)

  8. 8 kristin
    Wednesday, August 6th, 2008 at 3:59 pm

    I don’t usually use it but I do notice that people at work who are less tech savvy than I do. I’m not sure if I prefer it one way above the other… I think it’s just more of a shortcut thing. I do notice that some webservers don’t recognize having no subdomain as defaulting to www which means I have to go back and correct it manually (kindof a pain)

  9. 9 John Hoff - eVentureBiz
    Wednesday, August 6th, 2008 at 4:40 pm

    I don’t use the “www” unless it’s in an email.

    The real question is: Would you use it in offline marketing? I do.

  10. 10 Samuel
    Wednesday, August 6th, 2008 at 5:09 pm

    I use www only for websites oriented to people who dont have a well knownledge of the internet, for that people is better to give things as easy as possible :)
    And is a good practice for marketing too…

    But for technical sites I use always an address without the www (adding mod_rewrite rules to convert address for those that put the http://www.).

  11. 11 Frank
    Thursday, August 7th, 2008 at 9:30 am

    I hate using http://www. I’ve been meaning to do something about it on my sites, so I added Doug’s code above, and it looks like it’s working fine.

    How can we make it not use the www from the get go of a site? Is there a redirect or something?

  12. 12 Kyle Eslick
    Thursday, August 7th, 2008 at 9:58 am

    Thanks for offering your input everyone! I was hoping this post would get some good participation.

    As I mentioned in my post (and was confirmed above), it really doesn’t matter which you choose. WordPress now (as of 2.5 I believe) will redirect whichever you don’t choose to the one you choose. The important thing is Google wants you to pick one or the other and not mix and match.

    I think as someone mentioned above, you can almost cater to the website. Certain sites may be a better fit for the WWW, but I think most webmasters are switching to not using it now and for good reason.

    @ Frank - From a WordPress perspective, when you are running the install script for WordPress or entering the requested information in Fantastico don’t use the http://www.

    Though I don’t recommend making a change for already established websites, to change an existing blog easily, you can go into your settings and make the change there.

  13. 13 Doubletough
    Thursday, August 7th, 2008 at 7:27 pm

    Haven’t used it since the ’90s

  14. 14 Tim Norton
    Thursday, August 7th, 2008 at 8:08 pm

    Kyle, I don’t use the www because not using it makes the domain look shorter in my opinion, and shorter domains have more authority(not from search engines, just visitor impression), generally speaking. That’s my thought!

  15. 15 David Lau
    Friday, August 8th, 2008 at 2:21 am

    I’m still use the www,it seems to i should remove it.

  16. 16 Kolia Shlapak
    Saturday, August 9th, 2008 at 1:32 pm

    I never use www))

  17. 17 Doug
    Monday, August 11th, 2008 at 8:08 am

    Seems my code was altered by the comment form. There should be a dollar sign before the ‘1′ after the last domain name, so it would read out loud: “domain name, slash, dollar sign, one” I hope that’s not too confusing!

    And thanks, Big Blogger. Yes, please change the domain name to your own; don’t redirect your visitors to my site! :)
    Let me try one more time:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
    RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]

  18. 18 Doug
    Monday, August 11th, 2008 at 8:13 am

    Nope, the dollar sign got stripped again. Maybe Kyle could fix it? (Sorry for the multiple posts.)

  19. 19 Kyle Eslick
    Monday, August 11th, 2008 at 8:19 am

    Hi Doug,

    Sorry for the comment form problems. A fix is in the works :D
    It shows up correctly when I edit the comment, but it keeps breaking. When I added the code command it still removes the $ sign, so hopefully I can get a fix in place soon. In the meantime, your verbal explanation should do the trick.

    Thanks!

  20. 20 Jason
    Wednesday, August 13th, 2008 at 11:42 pm

    I don’t use it. And I find it annoying when webhosts don’t setup their server to resolve the domain without http://www. in front of it.

    I knew some guys running an ISP in California and none of their webhosting clients domains were setup to work without http://www. in front of the domain name. I had some clients who hosted with them and I would call and bitch at the network admin to get it fixed. I thought it was just plain lazy to be honest. They said their script they used to setup the domain wasn’t programmed to do it and they never took the time to fix it.

    Either way, most people probably never noticed and I imagine the average end user types http://www. automatically.

  21. 21 Jeffro2pt0
    Saturday, September 6th, 2008 at 1:38 pm

    Hey Kyle, wanted to say that I borrowed your topic of discussion and created a poll on Performancing asking if people used WWW or not http://performancing.com/do-you-use-www-your-domain-name the results are almost 50-50.

  22. 22 Kyle Eslick
    Saturday, September 6th, 2008 at 2:27 pm

    @ Jeffro - Yeah, I am a Performancing reader and saw that! Thanks for the heads up though, as I’ve been meaning to check on how that turned out.



Leave A Comment