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
      • 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
        • 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

                          • Chophel

                            My WP website got attack by malware & now my website site:www.example.ca shows about 43000 indexed page in google.

                            Hi All My wordpress website got attack by malware last week. It affected my index page in google badly. my typical site:example.ca shows about 130 indexed pages on google. Now it shows about 43000 indexed pages.  I had my server company tech support scan my site and clean the malware yesterday. But it still shows the same number of indexed page on google. Does anybody had ever experience such situation and how did you fixed it. Looking for help. Thanks FILE HIT LIST:
                            {YARA}Spam_PHP_WPVCD_ContentInjection : /home/example/public_html/wp-includes/wp-tmp.php
                            {YARA}Backdoor_PHP_WPVCD_Deployer : /home/example/public_html/wp-includes/wp-vcd.php
                            {YARA}Backdoor_PHP_WPVCD_Deployer : /home/example/public_html/wp-content/themes/oceanwp.zip
                            {YARA}webshell_webshell_cnseay02_1 : /home/example2/public_html/content.php
                            {YARA}eval_post : /home/example2/public_html/wp-includes/63292236.php
                            {YARA}webshell_webshell_cnseay02_1 : /home/example3/public_html/content.php
                            {YARA}eval_post : /home/example4/public_html/wp-admin/28855846.php
                            {HEX}php.generic.malware.442 : /home/example5/public_html/wp-22.php
                            {HEX}php.generic.cav7.421 : /home/example5/public_html/SEUN.php
                            {HEX}php.generic.malware.442 : /home/example5/public_html/Webhook.php

                            Technical SEO | Jan 11, 2021, 4:43 PM | Chophel
                            0
                          • Marketing_Today

                            DNS vs IIS redirection

                            I'm working on a project where a site has gone through a rebrand and is therefore also moving to a new domain name. Some pages have been merged on the new site so it's not a lift and shift job and so I'm writing up a redirect plan. Their IT dept have asked if we want redirects done by DNS redirect or IIS redirect. Which one will allow us to have redirects on a page level and not a domain level? I think IIS may be the right route but would love your thoughts on this please.

                            Technical SEO | Feb 10, 2015, 4:30 PM | Marketing_Today
                            1
                          • Michael4g

                            Duplicate Content Issue WWW and Non WWW

                            One of my sites got hit with duplicate content a while ago because Google seemed to be considering hhtp, https, www, and non ww versions of the site all different sites. We thought we fixed it, but for some reason https://www and just https:// are giving us duplicate content again. I can't seem to figure out why it keeps doing this. The url is https://bandsonabudget.com if any of you want to see if you can figure out why I am still having this issue.

                            Technical SEO | Feb 5, 2015, 7:50 PM | Michael4g
                            1
                          • ChristianRubio

                            Title Tag vs. H1 / H2

                            OK, Title tag, no problem, it's the SEO juice, appears on SERP, etc.  Got it. But I'm reading up on H1 and getting conflicting bits of information ... Only use H1 once? H1 is crucial for SERP Use H1s for subheads Google almost never looks past H2 for relevance So say I've got a blog post with three sections ... do I use H1 three times (or does Google think you're playing them ...) Or do I create a "big" H1 subhead and then use H2s? Or just use all H2s because H1s are scary?  🙂 I frequently use subheads, it would seem weird to me to have one a font size bigger than another, but of course I can adjust that in settings ... Thoughts? Lisa

                            Technical SEO | Jan 9, 2015, 11:19 AM | ChristianRubio
                            0
                          • CallMeNicholi

                            Last Part Breadcrumb Trail Active or Non-Active

                            Breadcrumbs have been debated quite a bit in the past. Some claim that the last part of the breadcrumb trail should be non-active to inform users they have reached the end. In other words, Do not link the current page to itself. On the other hand, that portion of the breadcrumb would won't be displayed in the SERPS and if it was may lead to a higher CTR. Foe example: www.website.com/fans/panasonic-modelnumber panasonic-modelnumber would not be active as part of the breadcrumb. What is your take?

                            Technical SEO | Sep 22, 2014, 4:05 PM | CallMeNicholi
                            0
                          • EileenCleary

                            Div tags vs. Tables

                            Is there any reason NOT to code in tables (other than it being outdated) for SEO reasons?

                            Technical SEO | Jun 10, 2013, 5:12 PM | EileenCleary
                            0
                          • Justin1

                            Redirection plugin: wordpress vs apache module?

                            Hi, Any one familiar with the wordpress plugin 'redirection' Are there any SEO benefits of having the plugin write the 301 redirects into the .htaccess? The standard mode does not use .htaccess but has wordpress genertae the 301s Thanks

                            Technical SEO | Dec 20, 2012, 4:29 PM | Justin1
                            0
                          • MarkWill

                            Redirecting blog.<mydomain>.com to www.<mydomain>.com\blog</mydomain></mydomain>

                            This is more of a technical question than pure SEO per se, but I am guessing that some folks here may have covered this and so I would appreciate any questions. I am moving from a WordPress.com-based blog (hosted on WordPress) to a WordPress installation on my own server (as suggested by folks in another thread here). As part of this I want to move from the format blog.<mydomain>.com to www.mydomain.com\blog. I have installed WordPress on my server and have imported posts from the hosted site to my own server. How should I manage the transition from first format to the second? I have a bunch of links on Facebook, etc that refer to URLs of the blog..com format so it's important that I redirect.</mydomain> I am running DotNetNuke/WordPress on my own IIS/ASP.Net servers. Thanks. Mark

                            Technical SEO | Sep 25, 2011, 7:56 PM | MarkWill
                            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.