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. Dealing with 404 pages

    Dealing with 404 pages

    Technical SEO Issues
    12 4 687
    • 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.
    • RyanKent
      RyanKent last edited by

      You can perform the 301 redirect and you will not need those pages anymore. Using the redirect would be a superior SEO solution over using the robots.txt file. Since the content is already indexed, it will stay indexed and Google will update each page over the next 30 days as it crawls your site.

      If you block /alpha with robots.txt, Google will still retain the pages in their index, users will experience 404s and your new pages wont start to be properly indexed until Google drops the existing pages which takes a while. The redirect is better for everyone.

      evolvingSEO borderbound 2 Replies Last reply Reply Quote 3
      • semshah143
        semshah143 last edited by

        You have to be very careful from the start, but now Google indexed your alpha. So dont worry about the thing.

        Using 301 is something which I dont like to do on your case. Ask google to remove that urls from indexing from GWT, and put robots.txt to prevent alpha to be indexed.

        Thanks,

        borderbound 1 Reply Last reply Reply Quote 0
        • borderbound
          borderbound @semshah143 last edited by

          How can I ask them to remove it from webmaster? How can I ask everything on the /alpha folder not to be indexed - or do I have to write each link out?

          Why do you think my case isn't good for 301 redirects?

          semshah143 RyanKent 3 Replies Last reply Reply Quote 0
          • borderbound
            borderbound @evolvingSEO last edited by

            Thanks Dan,

            Is there a way of blocking an entire folder or do I have to add each link?

            1 Reply Last reply Reply Quote 0
            • semshah143
              semshah143 @borderbound last edited by

              The reason behind not using 301 is alpha is not a page or folder you want to create for your users so I don't want to put 301. Its indexed that's it. Are you getting any traffic from it ?

              No, then why you need to redirect. Remove the page and ask search engine to remove that page from index. That is all.

              1 Reply Last reply Reply Quote 0
              • evolvingSEO
                evolvingSEO @RyanKent last edited by

                Whoops! Thanks for correcting my answer... 🙂

                1 Reply Last reply Reply Quote 0
                • RyanKent
                  RyanKent @borderbound last edited by

                  Semil, your answer is a working solution but I would like to share why it is not a best practice.

                  Once the /alpha pages were indexed you could have traffic on them. You cannot possibly know who has linked to those pages, e-mailed links, bookmarked them, etc. By providing a simple 301 the change will be completely seamless to users. All their links and bookmarks will still work. Additionally if any website did link to your /alpha pages, you will retain the link.

                  The site will also benefit because it is already indexed by Google. You will not have to wait for Google to index your pages. This means more traffic for the site.

                  The 301 is very quick and easy to implement. If you are simply moving from the /alpha directory to your main site then a single 301 redirect can cover your entire site.

                  I will offer a simple best practice of SEO (my belief which not everyone agrees with) which I do my best to follow. NEVER EVER EVER use the robots.txt file unless you have exhausted every other possibility. The robots.txt file is an inferior solution that many people latch on to because it is quick and easy. In your case, there is no need to adjust your robots.txt file at all. The original poster stated an intention to delete the /alpha pages. Those pages will no longer exist. Why block URLs which don't exist? It doesn't offer any benefit.

                  Also, it makes no sense to use the Google removal tool. That tool was designed to remove content which is damaging to businesses such as when confidential or personal information is indexed by mistake. The indexed content are pages you want in the index but simply have the wrong URL. The 301 redirect will allow your pages to remain in the index and for the URL to be properly updated. In order for the 301 to work correctly, you would need to NOT block the /alpha pages with robots.txt.

                  The solution you shared would work, but it is not as friendly all around.

                  1 Reply Last reply Reply Quote 1
                  • semshah143
                    semshah143 @borderbound last edited by

                    Hi Ryan,

                    Agree with you, but I thought to provide alternate solution to the problem. I know it is difficult and not chosen one.

                    But as I said that if he can't get any traffic from it then and then only it can delete the pages for index. Plus as he told earlier in question that mistakenly alpha folder was indexed so lines as per you said in the comment "That tool was designed to remove content which is damaging to businesses such as when confidential or personal information is indexed by mistake."  and Its contradictory statement too "The indexed content are pages you want in the index but simply have the wrong URL - The wrong URL means the different page.

                    Anyways will definitely go with your solution but sometimes two options helps you to choose better one.

                    Thanks

                    1 Reply Last reply Reply Quote 0
                    • borderbound
                      borderbound @RyanKent last edited by

                      Ryan,

                      Two things.

                      First - after a 301 redirect can I delete the pages and the databases/folders associated with them?

                      Second - How does one create a 301 redirect?

                      RyanKent 1 Reply Last reply Reply Quote 0
                      • RyanKent
                        RyanKent @borderbound last edited by

                        after a 301 redirect can I delete the pages and the databases/folders associated with them?

                        Yes. Think of a 301 redirect like mail forwarding. If you have an address, 1000 main street and then move to a new address you would leave a forward order (e.g. 301 redirect) with the post office. Once that is done, you can bulldozer the house (e.g.. delete the webpage/database) and the mail should still be forwarded properly.

                        How does one create a 301 redirect?

                        The method of creating a 301 redirect varies based on your server setup. If you have a LAMP setup with cPanel, there is a Redirect tool. Otherwise I would suggest contacting your host and ask how to create a redirect based on your particular setup.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        • 404 Hurricane Update Page After?
                          aua
                          aua
                          0
                          3
                          64

                        • How to deal with duplicate pages on Shopify
                          Mustansar
                          Mustansar
                          0
                          3
                          211

                        • Odd 404 pages
                          Everett
                          Everett
                          0
                          3
                          187

                        • 404 from a 404 that 301s
                          Ali_Sadr
                          Ali_Sadr
                          0
                          4
                          133

                        • 301 redirect all 404 pages
                          alsvik
                          alsvik
                          0
                          8
                          3.6k

                        • I have custom 404 page and getting so much 404 error on Google webmaster, what should i do?
                          NakulGoyal
                          NakulGoyal
                          0
                          3
                          357

                        • Mass 404 pages
                          AlanBleiweiss
                          AlanBleiweiss
                          0
                          5
                          597

                        • Hundreds of 404 Pages, What Should I do?
                          BradBorst
                          BradBorst
                          0
                          7
                          937

                        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

                        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