undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • MozCon

      Save on Early Bird tickets and join us in London or New York City

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

The Moz Q&A Forum

  • Forum
  • Questions
  • Users
  • Ask the Community

Welcome to the Q&A Forum

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

  1. Home
  2. SEO Tactics
  3. Technical SEO
  4. Www vs non-www which is better?

Moz Q&A is closed.

After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

Www vs non-www which is better?

Technical SEO
8
12
34.5k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • bronxpad
    bronxpad last edited by May 16, 2012, 8:50 PM

    Is it better to have all your pages point to the www version or non www version.

    1 Reply Last reply Reply Quote 0
    • ReviveMedia
      ReviveMedia @bronxpad last edited by Nov 24, 2015, 12:26 PM Nov 24, 2015, 12:26 PM

      I am needing help with this same thing. Did you ever find a solution to redirecting with yahoo web hosting? TIA

      1 Reply Last reply Reply Quote 0
      • topic:timeago_earlier,11 months
      • SeoMartin1
        SeoMartin1 last edited by Jan 8, 2015, 1:21 AM Jan 8, 2015, 1:21 AM

        Joel, i prefer www version cause i think from a technical perspective, there are several benefits to including the WWW.

        • Ability to restrict cookies when using multiple subdomains. Cookies of a main domain (i.e. example.com) are sent to all subdomains: If you are going to have subdomains for other purposes (blog for instance), you may want to differentiate the sites and have a www prefix for the regular site.
        • WWW actually MEANS something. As mentioned above, WWW is a hostname, and the hostname names the specific service being used a computer network; WWW names the web service for a domain.
        • Using the WWW hostname allows for easy segregation in the file structure of your website. Everything in the “www” folder (and at the www.example.com domain) is directly related to serving the site to the public. This allows for simple root-level site organization, eg you could also have a dev folder and have a subdomain dev.example.com for your development site, etc.
        • More flexibility with DNS. Your domain’s “Zone” file controls where traffic to your domain is directed and using the non-WWW version of your domain can complicate things.

        you may still want to use the WWW simply because it’s conventional to do so. On a business card, the WWW clearly conveys, This is our address on the World Wide Web. People are used to looking for, and seeing, the WWW and that’s sufficient reason for many to stick to the convention 🙂

        1 Reply Last reply Reply Quote 1
        • topic:timeago_earlier,3 years
        • Seattle
          Seattle @bronxpad last edited by May 17, 2012, 3:22 PM May 17, 2012, 3:22 PM

          Personally, I'd dump yahoo hosting and have my stuff hosted elsewhere. For less than $40/mo you can get hosting and have access to edit the .htaccess file to your heart's content.

          1 Reply Last reply Reply Quote 0
          • bronxpad
            bronxpad @Seattle last edited by May 17, 2012, 2:51 PM May 17, 2012, 2:51 PM

            I spoke with Yahoo, apparently they only offer the 301 redirect for the higher cost hosting plans that run about $40. Any ideas?

            Seattle 1 Reply Last reply May 17, 2012, 3:22 PM Reply Quote 1
            • Seattle
              Seattle last edited by May 17, 2012, 2:36 PM May 17, 2012, 2:36 PM

              http://help.yahoo.com/l/us/yahoo/smallbusiness/store/manage/sitesettings/sitesettings-29.html

              bronxpad 1 Reply Last reply May 17, 2012, 2:51 PM Reply Quote 0
              • bronxpad
                bronxpad last edited by May 17, 2012, 9:25 AM May 17, 2012, 9:25 AM

                Ok, does anyone know how to do a proper 301 redirect in yahoo web hosting?

                ReviveMedia 1 Reply Last reply Nov 24, 2015, 12:26 PM Reply Quote 0
                • Metropolis
                  Metropolis last edited by May 17, 2012, 6:37 AM May 17, 2012, 6:37 AM

                  As long as your consistent, but it just comes down to which have the higest ranksing if on an existing site.

                  I tend to prefer non-www for new sites as its less typing and un-necessary.

                  There is a moment for non-www http://no-www.org/

                  1 Reply Last reply Reply Quote 0
                  • MalcolmGibb
                    MalcolmGibb last edited by May 17, 2012, 5:19 AM May 17, 2012, 5:19 AM

                    There is no better method they do not affect rankings, it is purely personal preference. However you must implement proper redirect rules to resolve http://mysite.com to http://www.mysite.com or vice versa which ever one you choose.

                    I tend to always go for www. as it just looks better to me.

                    1 Reply Last reply Reply Quote 1
                    • wrttnwrd
                      wrttnwrd last edited by May 17, 2012, 1:01 AM May 17, 2012, 1:01 AM

                      I prefer www, because folks will generally tend to use that version when they link to you. It's reflex.

                      But you can check this. Run Open Site Explorer for both versions of your domain.

                      If more people link to you using 'www' than non-www, use www and 301 redirect the non-www to www.

                      If more people use non-www, do the reverse.

                      1 Reply Last reply Reply Quote 2
                      • kwoolf
                        kwoolf last edited by May 17, 2012, 12:31 AM May 17, 2012, 12:31 AM

                        If you do choose to keep the www, make sure you have redirects in place so when a user doesn't enter the www, he or she will get to your home page. Just FYI, www.domain.com is a subdomain of domain.com, so if your site can be access through both, search engines view these as two different pages and possibly split rankings.

                        1 Reply Last reply Reply Quote 1
                        • Seattle
                          Seattle last edited by May 16, 2012, 9:27 PM May 16, 2012, 9:27 PM

                          Neither one is better, but whichever one you choose, make sure you remain consistent for your entire site.

                          As for me, I use the www because that's what google uses.

                          1 Reply Last reply Reply Quote 1
                          • 1 / 1
                          1 out of 12
                          • First post
                            1/12
                            Last post

                          Got a burning SEO question?

                          Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                          Start my free trial


                          Browse Questions

                          Explore more categories

                          • Moz Tools

                            Chat with the community about the Moz tools.

                          • SEO Tactics

                            Discuss the SEO process with fellow marketers

                          • Community

                            Discuss industry events, jobs, and news!

                          • Digital Marketing

                            Chat about tactics outside of SEO

                          • Research & Trends

                            Dive into research and trends in the search industry.

                          • Support

                            Connect on product support and feature requests.

                          • See all categories

                          Related Questions

                          • ChrisHolgate

                            Is Base64 encoding images in general better for SEO or worse?

                            We've made a lot of changes to our website (https://refreshcartridges.co.uk/) over the years, with our website developer putting a heavy emphasis on improving page loading times in general. One of the those changes has been to base64 encode or in-line the majority of images on our site which has reduced our loading times down to under a second for most of our pages for our visitors which are mainly based in the UK. My question is whether in-lining the images, thus removing the images filenames for index association results in this technique being a net-good or net-bad for our sites SEO in general, particularly on our frontpage.

                            Technical SEO | Jun 4, 2018, 1:12 PM | ChrisHolgate
                            0
                          • Printcious

                            Discrepancy in actual indexed pages vs search console

                            Hi support, I checked my search console. It said that 8344 pages from www.printcious.com/au/sitemap.xml are indexed by google. however, if i search for site:www.printcious.com/au it only returned me 79 results. See http://imgur.com/a/FUOY2 https://www.google.com/search?num=100&safe=off&biw=1366&bih=638&q=site%3Awww.printcious.com%2Fau&oq=site%3Awww.printcious.com%2Fau&gs_l=serp.3...109843.110225.0.110430.4.4.0.0.0.0.102.275.1j2.3.0....0...1c.1.64.serp..1.0.0.htlbSGrS8p8 Could you please advise why there is discrepancy? Thanks.

                            Technical SEO | May 3, 2017, 9:32 AM | Printcious
                            0
                          • AfroSEO

                            422 vs 404 Status Codes

                            We work with an automotive industry platform provider and whenever a vehicle is removed from inventory, a 404 error is returned. Being that inventory moves so quickly, we have a host of 404 errors in search console. The fix that the platform provider proposed was to return a 422 status code vs a 404. I'm not familiar with how a 422 may impact our optimization efforts. Is this a good approach, since there is no scalable way to 301 redirect all of those dead inventory pages.

                            Technical SEO | Jul 26, 2016, 6:15 PM | AfroSEO
                            0
                          • Cocoonfxmedia

                            301 Redirect non existant pages

                            Hi I have 100's of URL's appearing in Search Console for example: ?p=1_1 These go to on to 5_200 etc.. I have tried to do htaccess and the mod rewrite is on as I can redirect directories to the root i.e RewriteRule ^web_example(.*)$ /$1 [R=301,N,L] However I have tried all kinds of variations to redirect ?p= and either it doesn't work at all or it crashes the website. Can anyone point me in the right direction to fix this.

                            Technical SEO | Dec 15, 2015, 5:51 PM | Cocoonfxmedia
                            0
                          • RanjeetP

                            Multilingual Website - Sub-domain VS Sub-directory

                            Hi Folks - Need your advice on the pros and cons of going with a sub-domain vs a sub-directory approach for a multi lingual website. The best would be a ccTLD but that is not possible now, so I would be more interested in knowing your take on these 2 options. Though, I have gone through http://www.stateofsearch.com/international-multilingual-sites-criteria-to-establish-seo-friendly-structure/ and this somewhat vouches for a sub-directory, but what would you say'?

                            Technical SEO | May 10, 2013, 1:19 PM | RanjeetP
                            0
                          • BridgetGibbons

                            Isnt it better to have headlines in H1 and H2 tags instead of p tags?

                            I am working with a simple site http://http://lightsigns.com/Uniko_Manufacturing_Limited.html They seek more SEO traffic. However, the two big headlines that read "Wholesale Supply to the Sign and Display Industries" which is on line 241 and 242 of the source code, its in a p tag, i.e. <p <span class="webkit-html-tag">style</p <span>="padding-top: 0pt; " class="paragraph_style_1">Wholesale Supply to the and <p <span class="webkit-html-tag">style</p <span>="padding-bottom: 0pt; " class="paragraph_style_1">Sign and Display Industries Likewise, the product titles are in p tags, also. For example, on the Slide-in Light Box product page, http://lightsigns.com/Slide_In_light_box.html , I have done keyword research and no one is using the words slide in light box.Plus, it is also a p tag, ie. line 43 reads style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style">Slide-in Light Box If I suggest that they make an H2 tag with SEO-optimized keywords such as Display Light Box - Slide-In LIght Box, would this indeed help SEO? In summary, is it correct to say that H1 and H2 tags are stronger signals to the search bots of what the page is about?

                            Technical SEO | Apr 18, 2013, 4:25 PM | BridgetGibbons
                            1
                          • twilightofidols

                            Rel=Canonical, WWW vs non WWW and SEO

                            Okay so I'm a bit of a loss here.  For what ever reason just about every single Wordpress site I has will turn www.mysite.com into mysite.com in the browser bar.  I assume this is the rel=canonical tag at work, there are no 301s on my site. When I use the Open Site Explorer and type in www.mysite.com it shows a domain authority of around 40 and a few hundred backlinks... and then I get the message. Oh Hey! It looks like that URL redirects to XXXXXX. Would you like to see data for <a class="clickable redirects">that URL instead</a>? So if I click to see this data instead I have less than half of that domain authority and about 2 backlinks. *** Does this make a difference SEO wise?  Should my non WWW be redirecting to my WWW instead because that's where the domain authority and backlinks are? Why am I getting two different domain authority and backlink counts if they are essentially the same?  Or am I wrong and all that link juice and authority passes just the same?

                            Technical SEO | Jun 22, 2012, 8:46 AM | twilightofidols
                            0
                          • DavetheExterminator

                            Root vs. Index.html

                            Should I redirect index.html to "/" or vice versa?  Which is better for duplicate content issues?

                            Technical SEO | Aug 5, 2011, 3:28 PM | DavetheExterminator
                            0

                          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
                          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 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                          • Accessibility
                          • Terms of Use
                          • Privacy

                          Looks like your connection to Moz was lost, please wait while we try to reconnect.