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. Question about structuring @id schema tags

    Question about structuring @id schema tags

    Intermediate & Advanced SEO
    3 3 785
    • 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.
    • RosemaryB
      RosemaryB last edited by

      We are using JSON-LD to apply schema.  My colleague had question about applying @id tags in the schema parent lists:

      While implementing schema, we've included @id as a parameter to both the "list" child of "ListItem" of a "BreadcrumbList" - on the same schema, we've added an @id parameter to mainContentOfPage and both @id parameters are set to the pages URL. Having this @id in both places is giving schema checker results that have the child elements of "mainContentOfPage" appearing under the "list" item.

      Questions: is this good or bad? Where should @id be used? What should @id be set to?

      Thanks for the insight!

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

        Can you share a link to a page with the code? You should use @id to indicate the URL of the entity being defined by the Schema. I think it's OK to have multiple @id's per page, but I think you should only have one per "node" since each node is identifying and defining one entity.

        If the problem has to do with the same @id being used several times on the page, you may want to look into @base, which I think would allow you to specify the @id of the entity once for the entire page: http://www.w3.org/TR/json-ld/#advanced-concepts

        Note: I'm not a developer. I have implemented Schema on several sites using JSON-LD, but only have a basic working knowledge. If you share the code perhaps it will be easier to assist you.

        1 Reply Last reply Reply Quote 2
        • MattRoney
          MattRoney last edited by

          Hi Rosemary! Did Everett's response help, or could you provide a link?

          Thanks! 🙂

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Schema question
            Paddy_Moogan
            Paddy_Moogan
            0
            3
            256

          • URL Structure Question
            Stramark
            Stramark
            0
            6
            139

          • Structured Data Questions
            EcommerceSite
            EcommerceSite
            0
            2
            150

          • Is this structure valid for a canonical tag?
            irvingw
            irvingw
            0
            2
            308

          • Rel Alternate tag and canonical tag implementation question
            Amiee
            Amiee
            0
            4
            7.5k

          • Site structure question
            icecarats
            icecarats
            0
            2
            474

          • Canonical Tag - Question
            AlanMosley
            AlanMosley
            0
            10
            1.0k

          • Quick URL structure question
            EGOL
            EGOL
            0
            4
            737

          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