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.

      Let your reputation grow with Reviews AI
      Moz Local

      Let your reputation grow with Reviews AI

      Learn more
    • 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

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      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. Magento: Should we disable old URL's or delete the page altogether

    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.

    Magento: Should we disable old URL's or delete the page altogether

    Intermediate & Advanced SEO
    2
    3
    1929
    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.
    • andyheath
      andyheath Subscriber last edited by

      Our developer tells us that we have a lot of 404 pages that are being included in our sitemap and the reason for this is because we have put 301 redirects on the old pages to new pages.

      We're using Magento and our current process is to simply disable, which then makes it a a 404. We then redirect this page using a 301 redirect to a new relevant page. The reason for redirecting these pages is because the old pages are still being indexed in Google.

      I understand 404 pages will eventually drop out of Google's index, but was wondering if we were somehow preventing them dropping out of the index by redirecting the URL's, causing the 404 pages to be added to the sitemap.

      My questions are:

      1. Could we simply delete the entire unwanted page, so that it returns a 404 and drops out of Google's index altogether?

      2. Because the 404 pages are in the sitemap, does this mean they will continue to be indexed by Google?

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

        Brilliant thanks Dan.

        This is what I'm going to do.

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

          Hey Andy

          To answer your questions:

          1. So if you're 301'ing the page, it's not really a 404 page, it's a 301 🙂 So yes, you can remove the 301 redirect, making it a true 404 page (check that it returns a 404 code using fetch as google or a tool like urivalet.com).

          2. If they are in the sitemap, this won't prevent Google from removing them from the index, but it will throw an error. And not that many people care about Bing, but Bing is apparently super picky about having XML sitemaps perfect.

          So yes I would just 404 them without the redirects.

          andyheath 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

          • Wana-Ryd

            Readd/Reindex a page that was 410'd

            A script of ours had an error that caused some pages we didn't wish 410'd to be 410'd, we caught it in about 12 hours but for some pages it was too late. My question is, will those pages be reindexed again and how will that affect their page ranking will they eventually be back where they were?  Would submitting a site map with them help, or what would be the best way to correct this error (submit the links to google indexer maybe?).

            Intermediate & Advanced SEO | | Wana-Ryd
            0
          • ennovators

            Replace dynamic paramenter URLs with static Landing Page URL - faceted navigation

            Hi there, got a quick question regarding faceted navigation. If a specific filter (facet) seems to be quite popular for visitors. Does it make sense to replace a dynamic URL e.x http://www.domain.com/pants.html?a_type=239 by a static, more SEO friendly URL e.x http://www.domain.com/pants/levis-pants.html by creating a proper landing page for it. I know, that it is nearly impossible to replace all variations of this parameter URLs by static ones but does it generally make sense to do this for the most popular facets choose by visitors. Or does this cause any issues? Any help is much appreciated. Thanks a lot in advance

            Intermediate & Advanced SEO | | ennovators
            0
          • peteboyd

            URL Injection Hack - What to do with spammy URLs that keep appearing in Google's index?

            A website was hacked (URL injection) but the malicious code has been cleaned up and removed from all pages. However, whenever we run a site:domain.com in Google, we keep finding more spammy URLs from the hack. They all lead to a 404 error page since the hack was cleaned up in the code. We have been using the Google WMT Remove URLs tool to have these spammy URLs removed from Google's index but new URLs keep appearing every day. We looked at the cache dates on these URLs and they are vary in dates but none are recent and most are from a month ago when the initial hack occurred. My question is...should we continue to check the index every day and keep submitting these URLs to be removed manually? Or since they all lead to a 404 page will Google eventually remove these spammy URLs from the index automatically? Thanks in advance Moz community for your feedback.

            Intermediate & Advanced SEO | | peteboyd
            0
          • llamb

            Using Canonical URL to poin to an external page

            I was wondering if I can use a canonical URL that points to a page residing on external site? So a page like:
            www.site1.com/whatever.html will have a canonical link in its header to www.site2.com/whatever.html. Thanks.

            Intermediate & Advanced SEO | | llamb
            0
          • mirabile

            Brackets vs Encoded URLs: The "Same" in Google's eyes, or dup content?

            Hello, This is the first time I've asked a question here, but I would really appreciate the advice of the community - thank you, thank you!  Scenario:  Internal linking is pointing to two different versions of a URL, one with brackets [] and the other version with the brackets encoded as %5B%5D Version 1: http://www.site.com/test?hello**[]=all&howdy[]=all&ciao[]=all
            Version 2: http://www.site.com/test?hello
            %5B%5D**=all&howdy**%5B%5D**=all&ciao**%5B%5D**=all Question: Will search engines view these as duplicate content?  Technically there is a difference in characters, but it's only because one version encodes the brackets, and the other does not (See: http://www.w3schools.com/tags/ref_urlencode.asp) We are asking the developer to encode ALL URLs because this seems cleaner but they are telling us that Google will see zero difference.   We aren't sure if this is true, since engines can get so _hung up on even one single difference in character.  _ We don't want to unnecessarily fracture the internal link structure of the site, so again - any feedback is welcome, thank you. 🙂

            Intermediate & Advanced SEO | | mirabile
            0
          • esiow2013

            May know what's the meaning of these parameters in .htaccess?

            Begin HackRepair.com Blacklist RewriteEngine on Abuse Agent Blocking RewriteCond %{HTTP_USER_AGENT} ^BlackWidow [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Bolt\ 0 [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Bot\ mailto:[email protected] [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} CazoodleBot [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^ChinaClaw [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Custo [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Default\ Browser\ 0 [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^DIIbot [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^DISCo [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} discobot [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Download\ Demon [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^eCatch [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ecxi [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^EirGrabber [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^EmailCollector [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^EmailSiphon [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^EmailWolf [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Express\ WebPictures [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^EyeNetIE [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^FlashGet [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^GetRight [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^GetWeb! [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Go!Zilla [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Go-Ahead-Got-It [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^GrabNet [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Grafula [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} GT::WWW [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} heritrix [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^HMView [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} HTTP::Lite [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} HTTrack [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ia_archiver [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} IDBot [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} id-search [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} id-search.org [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Image\ Stripper [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Image\ Sucker [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} Indy\ Library [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^InterGET [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Internet\ Ninja [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^InternetSeer.com [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} IRLbot [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ISC\ Systems\ iRc\ Search\ 2.1 [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Java [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^JetCar [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^JOC\ Web\ Spider [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^larbin [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^LeechFTP [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} libwww [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} libwww-perl [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Link [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} LinksManager.com_bot [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} linkwalker [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} lwp-trivial [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Mass\ Downloader [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Maxthon$ [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} MFC_Tear_Sample [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^microsoft.url [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} Microsoft\ URL\ Control [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^MIDown\ tool [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Mister\ PiX [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} Missigua\ Locator [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Mozilla.*Indy [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Mozilla.NEWT [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^MSFrontPage [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Navroad [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^NearSite [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^NetAnts [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^NetSpider [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Net\ Vampire [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^NetZIP [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Nutch [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Octopus [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Offline\ Explorer [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Offline\ Navigator [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^PageGrabber [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} panscient.com [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Papa\ Foto [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^pavuk [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} PECL::HTTP [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^PeoplePal [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^pcBrowser [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} PHPCrawl [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} PleaseCrawl [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^psbot [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^RealDownload [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^ReGet [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Rippers\ 0 [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} SBIder [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^SeaMonkey$ [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^sitecheck.internetseer.com [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^SiteSnagger [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^SmartDownload [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} Snoopy [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} Steeler [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^SuperBot [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^SuperHTTP [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Surfbot [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^tAkeOut [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Toata\ dragostea\ mea\ pentru\ diavola [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} URI::Fetch [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} urllib [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} User-Agent [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^VoidEYE [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Web\ Image\ Collector [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Web\ Sucker [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} Web\ Sucker [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} webalta [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WebAuto [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^[Ww]eb[Bb]andit [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} WebCollage [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WebCopier [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WebFetch [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WebGo\ IS [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WebLeacher [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WebReaper [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WebSauger [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Website\ eXtractor [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Website\ Quester [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WebStripper [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WebWhacker [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WebZIP [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} Wells\ Search\ II [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} WEP\ Search [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Wget [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Widow [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WWW-Mechanize [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WWWOFFLE [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Xaldon\ WebSpider [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} zermelo [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Zeus [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^(.)Zeus.Webster [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ZyBorg [NC]
            RewriteRule ^. - [F,L] Abuse bot blocking rule end End HackRepair.com Blacklist

            Intermediate & Advanced SEO | | esiow2013
            1
          • nicole.healthline

            Is 404'ing a page enough to remove it from Google's index?

            We set some pages to 404 status about 7 months ago, but they are still showing in Google's index (as 404's). Is there anything else I need to do to remove these?

            Intermediate & Advanced SEO | | nicole.healthline
            0
          • nicole.healthline

            Tool to calculate the number of pages in Google's index?

            When working with a very large site, are there any tools that will help you calculate the number of links in the Google index? I know you can use site:www.domain.com to see all the links indexed for a particular url. But what if you want to see the number of pages indexed for 100 different subdirectories (i.e. www.domain.com/a, www.domain.com/b)? is there a tool to help automate the process of finding the number of pages from each subdirectory in Google's index?

            Intermediate & Advanced SEO | | nicole.healthline
            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.