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. Technical SEO Issues
    4. .htaccess and www - non www

    .htaccess and www - non www

    Technical SEO Issues
    7 5 1.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.
    • mikeusry
      mikeusry last edited by

      Recently I have taken over a website and I made a pretty colossal mistake.  The site was properly constructed via .htaccess to a www domain.  Typically I roll without it and I made a bad assumption that the .htaccess was not previously set correctly because there were hundreds of fundamental mistakes.

      After a couple of days I noticed the mistake but some of our new (non www) have picked up some solid links etc.  So now I feel that I am in a nightmare of creating redirects etc.  So should I switch back to WWW or not?  Does it matter at this point?

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

        You almost certainly want to define it one way or the other at some point.

        Yes, you'll lose a little bit of power through the redirects once you've done them, but at least afterwards you can be sure all the links are going to point to the right place.

        Are you better having 90+% to one or 50% to each is the question 😉

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

          Barry said it all.
          I recommend you 301-redirect all pages without "www." to the fully qualified URLs containing "www.".
          You'll get 90% of the linkjuice of existing backlinks, so just go for it.

          1 Reply Last reply Reply Quote 1
          • mikeusry
            mikeusry last edited by

            Thanks guys.  I was pretty sure that is what I had to do but it is always so helpful in a predicament to get expert opinions.

            Thanks again!!

            AlanMosley 1 Reply Last reply Reply Quote 0
            • AlanMosley
              AlanMosley @mikeusry last edited by

              either way is ok, but not both.
              at least when you have 301 redirect, people that grab your url will always grab the same version of it

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

                This post is deleted!
                mikeusry 1 Reply Last reply Reply Quote -1
                • mikeusry
                  mikeusry @Guest last edited by

                  Thanks for the reply. There is no duplicate data. I am very confident about this and I have properly constructed 301's to the correct Canonical link. I should have laid the question out a bit better. I am clearly defined through and through to the NON-WWW address but most all of the inbound links are to the WWW link and have a 301 to them. It appears as if I am missing the link juice from the links.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  • Best Practice for www and non www
                    salem4e
                    salem4e
                    0
                    4
                    8.4k

                  • WWW to Non-WWW = Less Indexing?
                    BradyDCallahan
                    BradyDCallahan
                    0
                    3
                    178

                  • Which to redirect to, www or non-www?
                    Perfect007
                    Perfect007
                    0
                    3
                    169

                  • Redirecting non-www to www
                    Christy-Correll
                    Christy-Correll
                    0
                    6
                    466

                  • Difference between www and non-www site
                    Cyrus-Shepard
                    Cyrus-Shepard
                    0
                    6
                    7.8k

                  • Www v.s non www
                    theLotter
                    theLotter
                    0
                    7
                    749

                  • Www to non www
                    seoug_2005
                    seoug_2005
                    0
                    9
                    543

                  • Www vs non www
                    Marcus_Miller
                    Marcus_Miller
                    0
                    5
                    1.2k

                  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