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. Scanning For Duplicate Canonical Tags

    Scanning For Duplicate Canonical Tags

    Intermediate & Advanced SEO
    3 2 308
    • 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.
    • edmundsseo
      edmundsseo last edited by

      I'm looking for a solution for identifying pages on a site that have either empty/undefined canonical tags, or duplicate canonical tags (meaning the tag occurs twice within the same page).

      I've used Screaming Frog to view sitewide canonical values, but the tool cannot identify when pages use the tag twice, nor can it differentiate between pages that have an empty canonical tag and pages that have no canonical tag at all.

      Any help finding a tool of some sort that can assist me in doing this would be much appreciated, as I'm working with tens of thousands of pages and can't do this manually.

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

        I think Screaming Frog is still the solution you want, John, but it's not configured to do what you need "out of the box". You're going to need to write a custom query for Screaming Frog to run while it's indexing your site.

        This capability is only available in the paid version of the tool, but you'll need the paid version anyway to be able to crawl 10,000 page sites as the free tool cuts out at 500 pages.

        You'll find the Custom settings link under the Configuration tab in the top navigation bar of the tool. Essentially what you're doing is writing custom filters.

        You'll need to write a regex (regular expression) that is capable of finding pages with no canonical tag at all, and another which is capable of finding empty canonical tags. If your regex-fu is really strong, you may be able to write a single expression to capture both these states.

        Had you already tried the custom queries with Screaming Frog?

        Paul

        edmundsseo 1 Reply Last reply Reply Quote 0
        • edmundsseo
          edmundsseo @ThompsonPaul last edited by

          Paul,

          Thanks for your reply! I have used the paid version of Screaming Frog with regex to exclude pages with certain parameters, but I have not tried the custom queries.

          Could you give me an example of a custom query that would find empty canonical tags? That would be extremely helpful.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Original Source Tag or Canonical Tag for News Publishers?
            Carson-Ward
            Carson-Ward
            0
            2
            535

          • Increase in duplicate page titles due to canonical tag issue
            katemorris
            katemorris
            0
            4
            206

          • How to Set Up Canonical Tags to Eliminate Duplicate Content Error
            DSM_UK
            DSM_UK
            0
            7
            327

          • Partial duplicate content and canonical tags
            anthonydnelson
            anthonydnelson
            0
            2
            694

          • Canonical tag
            KarlBantleman
            KarlBantleman
            0
            11
            315

          • Why does SEOmoz bot see duplicate pages despite I am using the canonical tag?
            fablau
            fablau
            0
            9
            245

          • Canonical Tags?
            Dr-Pete
            Dr-Pete
            0
            9
            540

          • Is having a canonical tag for the link that IS the canonical a negative thing?
            DanDeceuster
            DanDeceuster
            0
            2
            813

          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