The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Search Engine Trends
    4. Technical Argument to Prefer non-www to www?

    Technical Argument to Prefer non-www to www?

    Search Engine Trends
    3 2 505
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Allie_Williams
      Allie_Williams last edited by

      I've been recommending using non-www vs. www as a preferable set up if a client is starting a site from scratch, and there aren't any pre-existing links to consider.

      I'm wondering if this recommendation still holds?

      I’ve been looking on the interwebs and I’m seeing far fewer articles arguing for the non-www version. In the two courts, I’m seeing highlighted:

      Pro www: (ex: www.domain.com)

      • Works better with CDN networks, where a domain needs to be specified (though that argument is 3 years old)
      • Ability to restrict cookies to one hostname (www) or subdomain (info. blog. promo.) if using multiple subdomains
      • IT people generally prefer it

      Pro non-www (ex: domain.com)

      • If you ever want to support or add https://, you don’t have to support 2 sets of urls/domains
      • Mindset: fewer and fewer people think in terms of typing in www before a site url, the future is heading towards dropping that anyway. Though that is a bit of a cosmetic argument….

      Is there a trend going back to www? Is there a technical argument to recommend non-www over www?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • cbielich
        cbielich last edited by

        I do not believe there really is a technical argument for this anymore because of the advancements we have now with HTML/Apache and so on. I have been developing for about 15 years and at this point it really doesn't matter. Just choose one and go with it.

        Works better with CDN networks, where a domain needs to be specified (though that argument is 3 years old)

        Not sure what you are meaning by "specifying a domain"?. Either way a domain has to be specified whether its www.example.com or example.com. Now the standard to specify a CDN any pretty much everything else is in this format. "//www.example.com" or "//example.com". The "//" now tells the browser to just go to that server and the server will do the rest and tell the client where they should go.

        For instance say you setup your .htaccess file to redirect (301) everyone to https and www. The client only needs to worry about "//"

        Ability to restrict cookies to one hostname (www) or subdomain (info. blog. promo.) if using multiple subdomains

        Cookies should always be set for both just in case. You cant control how someone will type in your domain, but you can control the redirects to www.

        **IT people generally prefer it **

        Not true 🙂

        If you ever want to support or add https://, you don’t have to support 2 sets of urls/domains

        Again with just using "//" you don't have to worry about this anymore

        Mindset: fewer and fewer people think in terms of typing in www before a site url, the future is heading towards dropping that anyway. Though that is a bit of a cosmetic argument….

        As long as you setup your redirect, www or none-www does not matter, even if you had your domain for years before you implemented the change.

        Here is the current trend

        With the amount of mobile devices and how "on the go" we are the less we can type to get our answer, the better. So yes the most preferred is example.com. In fact people now will just type in the brand name/domain and let Google direct them.

        All in all everyone should have a redirect to either www or none-www. All that matters to you is how do you want users to see your domain...www or none-www. Send them to whatever method you prefer. Since Google can determine the difference and you setup your 301 properly your Golden.

        1 Reply Last reply Reply Quote 2
        • Allie_Williams
          Allie_Williams last edited by

          Thanks Cesar, I appreciate your detailed response.

          Pick one, set up our redirects properly and we're good to go!

          Thanks much!

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • What happens when non-relevant topic is getting more visitors?
            LureCreative
            LureCreative
            0
            4
            40

          • Adding non-important folders to disallow in robots.txt file
            vtmoz
            vtmoz
            0
            4
            162

          • Ranking under a non-geobased, one word phrase
            IOSC
            IOSC
            0
            2
            62

          • How can I tell Google two sites are non-competing?
            gfiorelli1
            gfiorelli1
            0
            6
            175

          • PR Directory Vs Non PR Directory
            ITRIX
            ITRIX
            0
            4
            425

          • Too Many Non-Niche-Specific Links?
            MatthewBarby
            MatthewBarby
            0
            7
            326

          • No longer ranking for non local local terms
            ccgale
            ccgale
            0
            5
            306

          • Should I block non-informative pages from Google's index?
            UnderRugSwept
            UnderRugSwept
            1
            10
            795

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy