Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • MozCon
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Digital Marketers
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      Track AI Overviews in Keyword Research
      Moz Pro

      Track AI Overviews in Keyword Research

      Try it free!
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • MozCon

        Save on Early Bird tickets and join us in London or New York City

      Access 20 years of data with flexible pricing
      Moz API

      Access 20 years of data with flexible pricing

      Find your plan
    • Blog
    • Why Moz
      • Digital Marketers

        Simplify SEO tasks to save time and grow your traffic.

      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. SEO Tactics
    3. Intermediate & Advanced SEO
    4. How to de-index old URLs after redesigning the website?

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    How to de-index old URLs after redesigning the website?

    Intermediate & Advanced SEO
    5
    7
    6642
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • Chemometec
      Chemometec last edited by

      Thank you for reading.

      After redesigning my website (5 months ago) in my crawl reports (Moz, Search Console) I still get tons of 404 pages which all seems to be the URLs from my previous website (same root domain).

      It would be nonsense to 301 redirect them as there are to many URLs. (or would it be nonsense?)

      What is the best way to deal with this issue?

      1 Reply Last reply Reply Quote 0
      • Chemometec
        Chemometec @CleverPhD last edited by

        Thank you Clever PhD, really valuable insights!

        1 Reply Last reply Reply Quote 0
        • LiamMcArthur
          LiamMcArthur @CleverPhD last edited by

          I completely agree with all of the above - I've taken her point more like my own. Where receiving thousands of annoying 404 errors from pages that haven't existed for many months just gets annoying! 🙂

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

            I respectfully disagree with all of the above.   Please repeat after me, 404s are not bad, they are diagnostic, 404s are not bad, they are diagnostic, 404s are not bad, they are diagnostic.

            After redesigning my website (5 months ago) in my crawl reports (Moz, Search Console) I still get tons of 404 pages which all seems to be the URLs from my previous website (same root domain).

            **Part 1 Internal links that 404s from Moz Crawl: **The 404s that show up in the Moz crawl are only going to be from an internal link on your website.  The Moz crawl only looks at internal links and not links from other website.  In other words, if you see 404s in your Moz crawl, that means, somewhere, you are linking to those pages and that is why the 404s are showing up. Download the CSV and you will find them in your Moz crawl.  Other tools such as screaming frog, Botify, Deep Crawl, will show you a similar analysis.

            Simple solution.  Go through your code and remove the internal links on your site that direct the Moz crawler to those pages and the 404s will go away.  (FYI this same approach will work for any internal 301s) These 404 errors in the Moz report are great diagnostic signals on where to fix your site.  It is bad for users to click on a link within your website and get sent to a page that does not exist.

            **Part 2 external links from Search Console:  **The 404s that show up in Search console can come from your internal links on your site AND external links from other sites.  Google will keep trying to crawl these links due to other sites linking to pages on your site and your own internal links.   For internal link fixing - see suggestion above.  For external links you need a different approach.

            Look at the external links, where are they coming from?  Are they from quality websites?  Do they go to formerly important pages on your websites (ie pages that were good converters?  If so,  then use the 301 redirect to send them to the correct replacement page (and this is not always the home page).  You get users to the correct page and also any link equity is passed along as well and this can help with your site rankings.  If the link goes to former page on your site that was not any good to start with and the links that come into it are poor quality, then you just let the page 404.  Tools such as Moz Open Site Explorer or Ahrefs or Majestic can help with this assessment - but usually you can just look at a site linking to you and tell if it is crap or not.

            You need to consider the above regardless of if you want to get the pages that are 404ing in question out of the Google index as if you get Google to remove the page from the index, it will then see the internal link on your site and then find the 404 again.  If you have removed the links to the 404 pages on your site, eventually Google will stop crawling them and drop out of the index.

            Important note regarding the use of robots.txt.  Blocking Google from crawling the 404s will not remove the pages from the index, Google will just stop crawling them.  Google has to be able to crawl the URL to see the 404 and then see that it is a bad page and then remove the page from the index.  Blocking with robots.txt stops Google from doing that.  As soon as you take the page out of robots Google will recrawl and the 404 shows up again.  Robots.txt treats a symptom that is a red herring, allowing the 404 to occur takes care of the issue permanently.

            Dead pages are a natural part of the web.  Let Google see the 404 (if it truly is a page that should 404 and has no link equity that should be passed along with a 301).  Google will crawl the 404 several times, you will see it in search console several times.  It is ok.  You are not penalized for X number of 404s.  You may lose ranking if you 404 a page that Google used to rank well, but this is just because Google will not keep a page highly ranked that does not exist :-).   Help Google out by cleaning up your internal link structure so when it sees that you do not link to the page any more, then that is a signal that the page should 404.  Google knows that due to the nature of the web, pages will time out on occasion and show an error.  Google will continue to recrawl a page just to make sure, it wants to give you the benefit of the doubt.  Therefore, you have to give clear directives by not linking to dead pages so that after Google double and triple checks the page, it will finally drop it.  You will see the 404 in your Search Console for several months then it will eventually go away.

            Hope that makes sense. Good luck!

            LiamMcArthur Chemometec 2 Replies Last reply Reply Quote 2
            • MoosaHemani
              MoosaHemani Banned last edited by

              Hey Lana, If you really think that 301 does not make sense in that case you can always add the URLs in the robots.txt file and once Google will recrawl your website, Google will de-index the pages from the index.

              Another thing you can do is using the de-index feature in Google webmaster tool. You can do that by getting in to your GWT, Optimization > Remove URLs and do that accordingly.

              Hope this helps!

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

                I see the point. Thanks Liam. As the most of our 404 pages starts with /en-GB/ i will do like this:

                Disallow: /en-GB/

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

                  Hi Lana,

                  I've been having the same problem on one of our websites. I've been 301 redirecting over 5,000 URL's but still receive a lot of 404 errors. One of the main reasons for these 404 errors still appearing is other bots such as Bing Bot that is still crawling the old URL's.

                  To resolve this, I would just block them in your robots.txt file. We blocked our old product URL's that were under a "product directory like this:

                  User-agent: *
                  Disallow: /product/

                  1 Reply Last reply Reply Quote 1
                  • 1 / 1
                  • First post
                    Last post

                  Got a burning SEO question?

                  Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                  Start my free trial


                  Browse Questions

                  Explore more categories

                  • Moz Tools

                    Chat with the community about the Moz tools.

                  • SEO Tactics

                    Discuss the SEO process with fellow marketers

                  • Community

                    Discuss industry events, jobs, and news!

                  • Digital Marketing

                    Chat about tactics outside of SEO

                  • Research & Trends

                    Dive into research and trends in the search industry.

                  • Support

                    Connect on product support and feature requests.

                  • See all categories

                  Related Questions

                  • kadut

                    If my website uses CDN does thousands of 301 redirect can harm the website performance?

                    Hi, If my website uses CDN does thousands of 301 redirect can harm the website performance? Thanks Roy

                    Intermediate & Advanced SEO | | kadut
                    1
                  • lcourse

                    What is best practice for "Sorting" URLs to prevent indexing and for best link juice ?

                    We are now introducing 5 links in all our category pages for different sorting options of category listings.
                    The site has about 100.000 pages and with this change the number of URLs may go up to over 350.000 pages.
                    Until now google is indexing well our site but I would like to prevent the "sorting URLS" leading to less complete crawling of our core pages, especially since we are planning further huge expansion of pages soon. Apart from blocking the paramter in the search console (which did not really work well for me in the past to prevent indexing) what do you suggest to minimize indexing of these URLs also taking into consideration link juice optimization? On a technical level the sorting is implemented in a way that the whole page is reloaded, for which may be better options as well.

                    Intermediate & Advanced SEO | | lcourse
                    0
                  • Jonathan.Smith

                    Should I include URLs that are 301'd or only include 200 status URLs in my sitemap.xml?

                    I'm not sure if I should be including old URLs (content) that are being redirected (301) to new URLs (content) in my sitemap.xml. Does anyone know if it is best to include or leave out 301ed URLs in a xml sitemap?

                    Intermediate & Advanced SEO | | Jonathan.Smith
                    0
                  • friendoffood

                    Removing UpperCase URLs from Indexing

                    This search   -  site:www.qjamba.com/online-savings/automotix gives me this result from Google: Automotix online coupons and shopping - Qjamba
                    https://www.qjamba.com/online-savings/automotix
                    Online Coupons and Shopping Savings for Automotix. Coupon codes for online discounts on Vehicles & Parts products. and Google tells me there is another one, which is 'very simliar'.  When I click to see it I get: Automotix online coupons and shopping - Qjamba
                    https://www.qjamba.com/online-savings/Automotix
                    Online Coupons and Shopping Savings for Automotix. Coupon codes for online discounts on Vehicles & Parts products. This is because I recently changed my program to redirect all urls with uppercase in them to lower case, as it appears that all lowercase is strongly recommended. I assume that having 2 indexed urls for the same content dilutes link juice.  Can I safely remove all of my UpperCase indexed pages from Google without it affecting the indexing of the lower case urls?  And if, so what is the best way -- there are thousands.

                    Intermediate & Advanced SEO | | friendoffood
                    0
                  • JohnPeters

                    Strange URLs, how do I fix this?

                    I've just check Majestic and have seen around 50 links coming from one of my other sites. The links all look like this: http://www.dwww.mysite.com
                    http://www.eee.mysite.com
                    http://www.w.mysite.com The site these links are coming from is a html site. Any ideas whats going on or a way to get rid of these urls? When I visit the strange URLs such as http://www.dwww.mysite.com, it shows the home page of http://www.mysite.com. Is there a way to redirect anything like this back to the home page?

                    Intermediate & Advanced SEO | | JohnPeters
                    0
                  • Martin_S

                    How do you de-index and prevent indexation of a whole domain?

                    I have parts of an online portal displaying in SERPs which it definitely shouldn't be. It's due to thoughtless developers but I need to have the whole portal's domain de-indexed and prevented from future indexing. I'm not too tech savvy but how is this achieved? No index? Robots? thanks

                    Intermediate & Advanced SEO | | Martin_S
                    0
                  • dellamoda

                    Overly-Dynamic URL

                    Hi, We have over 5000 pages showing under Overly-Dynamic URL error Our ecommerce site uses Ajax and we have several different filters like, Size, Color, Brand and we therefor have many different urls like, http://www.dellamoda.com/Designer-Pumps.html?sort=price&sort_direction=1&use_selected_filter=Y http://www.dellamoda.com/Designer-Accessories.html?sort=title&use_selected_filter=Y&view=all http://www.dellamoda.com/designer-handbags.html?use_selected_filter=Y&option=manufacturer%3A&page3 Could we use the robots.txt file to disallow these from showing as duplicate content? and do we need to put the whole url in there? like: Disallow: /*?sort=price&sort_direction=1&use_selected_filter=Y if not how far into the url should be disallowed? So far we have added the following to our robots,txt Disallow: /?sort=title Disallow: /?use_selected_filter=Y Disallow: /?sort=price Disallow: /?clearall=Y Just not sure if they are correct. Any help would be greatly appreciated. Thank you,Kami

                    Intermediate & Advanced SEO | | dellamoda
                    2
                  • Hyrule

                    Splitting one Website into 2 Different New Websites with 301 redirects, help?

                    Here's the deal. My website stbands.com does fairly well. The only issue it is facing a long term branding crisis. It sells custom products and sporting goods. We decided that we want to make a sporting goods website for the retail stuff and then a custom site only focusing on the custom stuff. One website transformed and broken into 2 new ones, with two new brand names. The way we are thinking about doing this is doing a lot of 301 redirects, but what do we do with the homepage (stbands.com) and what is the best practice to make sure we don't lose traffic to the categories, etc.? Which new website do we 301 the homepage to? It's rough because for some keywords we rank 3 or 4 times on the first page. Scary times, but something must be done for the long term. Any advise is greatly appreciated. Thank you in advance. We are set for a busy next few months 🙂

                    Intermediate & Advanced SEO | | Hyrule
                    0

                  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 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                  • Accessibility
                  • Terms of Use
                  • Privacy

                  Looks like your connection to Moz was lost, please wait while we try to reconnect.