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
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • 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.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      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.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • 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.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • 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.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • 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. Technical SEO
    4. Should there be a canonical tag on my 404 error page?

    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.

    Should there be a canonical tag on my 404 error page?

    Technical SEO
    6
    6
    10797
    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.
    • Leighm
      Leighm last edited by

      In my crawl diagnostics, I notice some 4xx client errors. They are appearing for pages that no longer exist, so I'm not sure what the problem is. Shouldn't they just be dealt as 404's?

      Anyway, on closer inspection I noticed that my 404 error page contains a canonical tag which points to the missing page. Could this be the issue? Is it a good idea to remove the canonical tag from this error page?

      Thanks.

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

        I repeated this elsewhere, but I think canonical on 404 page does make sense, especially if you consider the following two statements true:

        1. There is a reason for 404s, don't 301 everything
        2. There is no reason to lose the value of someone linking to your page.

        If those 2 statements are true then you should create an individual error page, and then everytime you serve a 404 you should include canonical to that error page. That page should have useful content (explanation of page missing and where you could go), probably a search box, and links to the most valuable content on your site. This satisfies both points.

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

          1 there is no point having canonical on a 404 page. I would say its a very confusing signal to bots

          2 don't always 301. 404 exists for a reason. In most cases I will 301 old pages but there are cases where letting pages 404 is the correct way forward

          1 Reply Last reply Reply Quote 1
          • Marvo
            Marvo @magicrob last edited by

            If the old pages are NOINDEX, are the old inbound links still passed on to the new page via the 301's. and is the google juice passed?  I've wanted to do exactly what you suggest, but was afraid of severing the Linking credit from those old inbounds.

            1 Reply Last reply Reply Quote 1
            • wildnerakademie
              wildnerakademie last edited by

              The canonical tag on errorpages make no sense! For gone webpages just setup a 301 redirect in the .htaccess. And make use of the Google webmaster tools to identify waht Google sees.

              1 Reply Last reply Reply Quote 1
              • magicrob
                magicrob last edited by

                Discovering 404s can be useful.

                Is the old page deleted? Why not 301 redirect the URL to an appropriate page elsewhere on your site? Tools such as Screaming Frog's SEO Spider can crawl your website and help you discover 404s. By redirecting the page with a permanent redirect search engines will to pass any link juice the previous page had to the new page. Redirecting will also cleanup your pages in the SERPs and help with any broken internal links on your site (though it'd be better to fix those).

                There's no need to having a rel=canonical tag on a 404 page (but if you do, ensure the tag is for the page itself and not actual content on your site).

                There's also no need for search engines to index your 404 page, so I suggest adding the meta NOINDEX tag to the page.

                Marvo 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

                • webbeemoz

                  I want to move some pages of my website to a folder and nav menu in those pages should only show inner page links, will it hurt SEO?

                  seo consulting seo expert seo page treatment

                  Hi, My website has a few SaaS products, to make my website simple i want to move my website some pages to its specific folder structure , so eg website.com/product1/features
                  website.com/product1/pricing
                  website.com/product1/information and same for product2 and so on, the website.com/product1/.. menu will only show the links of product1 and only one link to homepage (possibly in footer). Please share your opinion will it be a good idea, from UI perspective it will be simple , but i am not sure about SEO perspective, please help thanks

                  Technical SEO | | webbeemoz
                  1
                • bill369

                  Do Canonical Tags Pass Link Juice?

                  I have an ecommerce website where some pages link to a product page with a different URL. EXAMPLE: 1: /category/product1.html (not indexed by Google) with canonical pointing to product1.html Other page link to the product like below. 2: product1.html (indexed by Google) Now the question is, does 1: pass any link juice to product1.html or not? Is it worth to change everything and link only to one URL? My site is running on Magento!

                  Technical SEO | | bill369
                  0
                • amastone

                  Canonical tag use for ecommerce product page detail

                  Hi, I have a category page I want to rank. This page has 24 different products quite similar but not exactly the same.
                  I want to use canonical tag in any product to the parent category. 
                  Is this a right use of the canonical? 
                  Category page I'm talking about is : Finger bits If I understand how to use canonical tags I can improve all my category pages. thanks marco

                  Technical SEO | | amastone
                  0
                • franchisesolutions

                  What is the best way to find missing alt tags on my site (site wide - not page by page)?

                  I am looking to find all the missing alt tags on my site at once. I have a FF extension that use to do it page by page, but my site is huge and that will take forever. Thanks!!

                  Technical SEO | | franchisesolutions
                  1
                • Nightwing

                  Diagnosing Canonical Errors Is Screaming frog reliable?

                  Morning from suny & warm wetherby UK 🙂 On this page http://www.goldsboroughestates.co.uk/how-we-care-for-you/right-to-manage/ screaming frog is citing a canonical error but I'm confused as this piece of code is in place: http://www.goldsboroughestates.co.uk/About/right-to-manage" /> So my question is please - "Does this page  http://www.goldsboroughestates.co.uk/how-we-care-for-you/right-to-manage/ have a caninical error or is screaming frog useless? Other examples where screaming frog is picking up canonical errors include:
                  http://www.goldsboroughestates.co.uk/what-our-customers-say/right-to-manage/
                  http://www.goldsboroughestates.co.uk/buying-a-home/right-to-manage/ Oh forgot to say the preffered version is http://www.goldsboroughestates.co.uk/About/right-to-manage/ Any insights welcvome 🙂

                  Technical SEO | | Nightwing
                  0
                • LarsEriksson

                  Hreflang on non-canonical pages

                  Hi! I've been trying to figure out what is the best way to solve this dilemma with duplicate content and multiple languages across domains. 1 product info page 2 same product but GREEN
                  3 same product but RED
                  4 same product but YELLOW **Question: ** Since pages 2,3,4 just varies slightly I use the canonical tag to indicate they are duplicates of page 1. Now I also want to indicate there are other language versions with the_ rel="alternate" hreflang="x" _element. Should I place the _rel="alternate" hreflang="x" _on the canonical page only pointing to the canonical page with "x" language. Should I place the _rel="alternate" hreflang="x" _on all pages pointing to the canonical page with the "x" language? Should I place the _rel="alternate" hreflang="x"  _on all pages and then point it to the translated page (even if it is not a canonical page) ? /Lars

                  Technical SEO | | LarsEriksson
                  0
                • slingshot

                  Thoughts about stub pages - 200 & noindex ok, or 404?

                  With large database/template driven websites it is often possible to get a lot of pages with no content on them. What are the current thoughts regarding these pages with no content, options; Return a 200 header code with noindex meta tag Return a 404 page & header code Something else? Thanks

                  Technical SEO | | slingshot
                  0
                • seoug_2005

                  Robots.txt and canonical tag

                  In the SEOmoz post - http://www.seomoz.org/blog/robot-access-indexation-restriction-techniques-avoiding-conflicts, it's being said - If you have a robots.txt disallow in place for a page, the canonical tag will never be seen. Does it so happen that if a page is disallowed by robots.txt, spiders DO NOT read the html code ?

                  Technical SEO | | seoug_2005
                  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
                Free SEO Tools
                • Domain Authority Checker
                • Link Explorer
                • Keyword Explorer
                • Competitive Research
                • Brand Authority 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.