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. On-Page / Site Optimization
    4. Necessary to redirect non-www to www?

    Necessary to redirect non-www to www?

    On-Page / Site Optimization
    4 4 2.1k
    • 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.
    • someoneguy
      someoneguy last edited by

      Hello All,

      I've read quite a bit on here and the Matt Cutts blog http://mattcutts.com/blog/seo-advice-url-canonicalization/ about non-www vs www. I''ve also read a few recent posts on here but still left a little confused.

      First, my site is PR 4. We don't have many links, but the ones we do have (including internal) point to the www.example.com. You can also get to our site by typing example.com and it will not switch to the www. version. Both versions have the PR4, I just want to make sure I'm not losing any PR or juice between the different versions.

      My question, would you advise 301 redirect to the www version? if so, I have Godaddy as our host, is it as simple as going into the hosting control and doing the redirect there?

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

        Yes it is a good idea to redirect the non-www to the www as long as the www has more links, otherwise I would suggest the opposite (www to the non-www). You just have to make a file named ".htaccess" and placing this in the document:

        RewriteEngine On

        RewriteCond %{HTTP_HOST} ^example.com/ [NC]

        RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]

        Then just upload it to the server.

        Cordstrap 1 Reply Last reply Reply Quote 2
        • Cordstrap
          Cordstrap @JordanJudson last edited by

          Jordan,

          Any idea where i can find out where most of my links are pointing to, the www or the non-www version?

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

            Use http://www.opensiteexplorer.org

            Type in both urls and you'll see which one has more links to it.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Removing non www and index.php
              0
              1
              60

            • Redirect www.domain to domain
              Vizergy
              Vizergy
              1
              6
              104

            • To redirect or not to redirect...That is the question
              EGOL
              EGOL
              0
              3
              189

            • Www no longer redirects
              MrPenguin
              MrPenguin
              0
              5
              116

            • Www to non www redirect
              matbennett
              matbennett
              0
              8
              194

            • Www redirect
              thomasfasting
              thomasfasting
              0
              4
              337

            • Www vs "non" www site addresses and SEO
              apmgsmith
              apmgsmith
              0
              3
              554

            • 301 redirect (www.domain.com/index to www.domain.com)
              StalkerB
              StalkerB
              2
              12
              16.8k

            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