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. Www to non www redirect

    Www to non www redirect

    On-Page / Site Optimization
    8 3 194
    • 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.
    • vcasebourne
      vcasebourne last edited by

      HI there,

      I was worried that my folder was not being crawled as when I searched for site:www.thekeepsakeco.co.uk/marketplace nothing came up but today I tried site:thekeepsakeco.co.uk/marketplace it does. So it is forwarding the www to the non www. When I do a search on links or analyse the domain it says there is a forwarder in place.

      My site used to dominate in my niche and now is not doing very well since I moved to the new site. I know I did not handle the move well but wonder what I can do about it and wonder if this redirect is causing issues. So any link building it probably going to www. rather than non www so does that mean they are not counting.

      What would you do? move everything back to www and could I do a 301 redirect for the whole folder?

      Any help greatly received!

      Kindest regards

      Victoria

      Thanks

      Victoria

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

        HI Victoria,

        The problem is that you have used the wrong type of redirect.

        You are using a 302 redirect. This is a temporary redirect. Search engines treat this as "This has moved, but don't update anything - it'll be back soon".

        What you want is a 301 redirect.  This is more "This has changed address - please update all records".

        This should be a very simple task for whoever did the redirect for you. They will probably have to literally change 1 character!

        I hope that helps.

        vcasebourne 1 Reply Last reply Reply Quote 0
        • vcasebourne
          vcasebourne @matbennett last edited by

          Thanks for your time Matt - I can not find any 302's anywhere and only 301 and when I do a redirect check on http://www.webtoolhub.com/tn561352-url-redirection-checker.aspx it comes back as 301.

          If it is 301 is it ok or can you show me how to see the 302?

          matbennett 1 Reply Last reply Reply Quote 0
          • Vizergy
            Vizergy last edited by

            when was your site moved over to the new site?  You say that didn't go well and I have to wonder if you left out a lot of redirecting there.  If it hasnt been to long and Google still has the old site indexed (or even if not if you had good links) I would make sure you redirect every page of your old website to the relevant page of your new website.

            vcasebourne 1 Reply Last reply Reply Quote 1
            • matbennett
              matbennett @vcasebourne last edited by

              This baffled me for a moment. However I think that you have some bad regex in your .htaccess as not everything is being caught by that 301.

              For instance:

              http://thekeepsakeco.co.uk/marketplace/store/products/magic-mallow-impression-kit 
              301s just fine, yet add the trailing slash...

              http://thekeepsakeco.co.uk/marketplace/store/products/magic-mallow-impression-kit/
              a
              nd you get a 200 response.

              That seems to happen across a lot of URLs for you.

              If you do search for site:thekeepsakeco.co.uk -inurl:www.thekeepsakeco.co.uk  you'll see the ones that have already been indexed (there may be more of course). I've checked about 10 of those for you and they were returning the 200 status.

              Still not sure why I thought it was 302ing yesterday. I checked your homepage before I responded and I swear it was a 302. However that 200 response would seem to be your issue.

              vcasebourne 1 Reply Last reply Reply Quote 1
              • vcasebourne
                vcasebourne @matbennett last edited by

                Thanks for looking at this for me in such detail. I thought a 200 response meant everything was ok with the site?

                matbennett 1 Reply Last reply Reply Quote 0
                • vcasebourne
                  vcasebourne @Vizergy last edited by

                  Thanks Billy - I did it back at the beginning of the new year I would say. I will see if I can go through and do all the re-directs again. Thanks

                  1 Reply Last reply Reply Quote 0
                  • matbennett
                    matbennett @vcasebourne last edited by

                    A 200 does mean "OK" - for that URL (note - not for the site).

                    So, if you want the www. version indexed rather than the non-www version then you want http://www.keepsake.... so return a 200 response ("Yes - this URL is OK"), but you want http://keepsake... to return a 301 ("This URL is not OK. It has moved to http://www.keepsake... ").

                    As I say, some of your URLs do that correctly, so whoever put the redirects in place understood what they were aiming for.  However the ones with the trailing slash don't.

                    Is that a little clearer?

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    • Page Speed Insights for www and non www sites
                      HiveDigitalInc
                      HiveDigitalInc
                      0
                      3
                      349

                    • Www no longer redirects
                      MrPenguin
                      MrPenguin
                      0
                      5
                      116

                    • Redirect both / and non-/ URLs?
                      OVJ
                      OVJ
                      1
                      5
                      161

                    • 301 redirect www.brandname.com to www.brandname-keyword.com
                      Webrevolve
                      Webrevolve
                      0
                      8
                      583

                    • Too www. or not to www.?
                      ClassifiedsKing
                      ClassifiedsKing
                      0
                      4
                      844

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

                    • How do I do a 301 Redirect in IIS 7 from http://www.freightmonster.com/index.html to http://freightmonster.com/index.html when I don't have a physical page to redirect?
                      EricaMcGillivray
                      EricaMcGillivray
                      0
                      4
                      1.0k

                    • Necessary to redirect non-www to www?
                      RavenshoeGroup
                      RavenshoeGroup
                      0
                      4
                      2.1k

                    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