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. Intermediate & Advanced SEO
    4. 301 Redirect and Webmaster Central

    301 Redirect and Webmaster Central

    Intermediate & Advanced SEO
    6 2 109
    • 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.
    • spkcp111
      spkcp111 last edited by

      I've been working on removing canonical issues. My host is Apache.

      Is this the correct code for my htaccess?

      RewriteEngine On
      RewriteCond %{HTTP_HOST} ^luckygemstones.com$ [NC]
      RewriteRule ^(.*)$ http://www.luckygemstones.com/$1 [R=301,L]

      SECOND!!! I have two websites under Google's Webmaster Central;

      http://luckygemstones.com which gets NO 404 soft errors...

      AND

      http://www.luckygemstones.com which has 247 soft 404 errors...

      I think I should DELETE the http://luckygemstones.com site from Webmaster Central--the 301 redirect handles the"www" thing.

      Is this correct? I hate to hose things (even worse?)

      Help!

      Kathleen

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

        Correct code for .htaccess.

        I wouldn't remove the non-www version from GWT. Instead, set the preferred domain (configuration > settings > preferred domain > Display URLs as www.luckygemstones.com)

        In addition, I would add rel canonical tags to the www. version of each page.

        Can you list some sample soft 404s? By definition, they are pages that aren't found but return a 200 response code.

        spkcp111 1 Reply Last reply Reply Quote 1
        • spkcp111
          spkcp111 @OlegKorneitchouk last edited by

          So I still need the link rel tag on each page--including the 301 redirect?

          So say or would the link tag require the www? I think not--but not totally clear!

          We're a jewelry website--and things do sell out, so we remove the page (otherwise someone might try to order them) I have it in the sitemap to archive the pages yet still get 404 errors. I've been considering 410--but not sure how to implement...

          We have literally thousands of items--so it'd be a bit of work to go over and manually remove sold out items at google every day. And what about yahoo/bing, etc?

          I wonder how people handle sold outs properly.

          Thx for your help!

          Kathleen

          OlegKorneitchouk 1 Reply Last reply Reply Quote 0
          • OlegKorneitchouk
            OlegKorneitchouk @spkcp111 last edited by

            http://www.luckygemstones.com/anypage.htm" />

            Yes, add the www. because that is what you want to be indexed.. you want the non-www version to be ignored and replaced with the www. version.

            I wonder how people handle sold outs properly. - Keep the page and replace the "add to cart/buy now" button with a "Sold Out" graphic.

            That way you get to keep all your pages (hopefully they are unique and get external links) and are able to target more keywords to cross sell your other items. And if you do get more of the item in stock, you can just add the payment buttons again.

            OlegKorneitchouk 1 Reply Last reply Reply Quote 0
            • OlegKorneitchouk
              OlegKorneitchouk @OlegKorneitchouk last edited by

              Hah, reading my daily dose of news and this came up.

              "If we've seen a URL once, we're likely to retry it again and again, especially if we should run across new links to that URL. This isn't something that you really need to worry about, it's absolutely fine and even expected that a website returns 404 for URLs that don't exist. Assuming these are URLs that you don't want to have indexed, then these 404 errors will not negatively affect your site's performance in search. Having 404s is fine." - John Mueller

              spkcp111 1 Reply Last reply Reply Quote 0
              • spkcp111
                spkcp111 @OlegKorneitchouk last edited by

                It seems like Google would want unused/unwanted pages removed--less "junk" on the web--less irrelevance to add to their already huge index...

                A long time problem I think...I will sometimes put NOINDEX, NOFOLLOW in pages I wanted removed from the index--then after a few months, delete them.

                Thanks for the feedback!

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • 301 redirects
                  ThomasHarvey
                  ThomasHarvey
                  0
                  6
                  203

                • 301 Redirects... Redirect all content at once or in increments?
                  Koki.Mourao
                  Koki.Mourao
                  0
                  6
                  175

                • If you do 302 redirect then change to 301 redirect do you lose all link juice?
                  EricaMcGillivray
                  EricaMcGillivray
                  0
                  3
                  792

                • 301 redirect subdomain to path and 301 for popular pages
                  Mike.Goracke
                  Mike.Goracke
                  0
                  2
                  187

                • 301 redirects
                  jwdl
                  jwdl
                  0
                  5
                  113

                • How to conduct catch 301 redirects & have the separate 301 redirects for the key pages
                  BenRWoodard
                  BenRWoodard
                  0
                  2
                  288

                • 301 redirects.
                  Matt-Williamson
                  Matt-Williamson
                  0
                  5
                  270

                • Multiple 301 redirects considered a redirection chain?
                  jmueller
                  jmueller
                  1
                  16
                  5.0k

                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