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. Technical SEO Issues
    4. Where to put Schema On Page

    Where to put Schema On Page

    Technical SEO Issues
    8 6 29.8k
    • 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.
    • bozzie311
      bozzie311 last edited by

      What part of my page should I put Schema data? Header? Footer?

      Also All pages? or just home page?

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

        What Schema data are you referring to? Different microtags will apply to different pages. Generally, anywhere you can use a microtag, you should.

        bozzie311 1 Reply Last reply Reply Quote 0
        • bozzie311
          bozzie311 @deltasystems last edited by

          Local business, Name, Address

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

            I have so far put it in the main content & in the header both seem to work fine

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

              Always place schema markup directly in the position on the page where you want the content to appear if it's content specific - wrapping it around that content. So if your business name and address are in the main content area, that's where you place the schema code.  It's literally a wrapper just like a CSS div would be, or an old-school HTML table, but not for display purposes on-site.

              EDITED 11/14/2013 based on a question from Oliver (below) regarding situations where markup is located in the "head" area of the page:

              Exceptions to "in-body" markup:

              As is the case with any structured markup solution, there will, from time to time, be cases where certain, specific elements go in the "head" section of the code.  Anything that applies to an individual page in its entirety, and does not limit itself to an element of content within the page does, in fact, belong in the "head" area of the page code.

              jenmcardle impt 2 Replies Last reply Reply Quote 4
              • jenmcardle
                jenmcardle @AlanBleiweiss last edited by

                I agree with Alan. The standards are demonstrated on the schema.org website. Here is a link using a recipe as an example of how to mark up a page: http://schema.org/Recipe

                1 Reply Last reply Reply Quote 0
                • impt
                  impt @AlanBleiweiss last edited by

                  What about situations such as those in this example

                  http://moz.com/blog/meta-data-templates-123

                  AlanBleiweiss 1 Reply Last reply Reply Quote 1
                  • AlanBleiweiss
                    AlanBleiweiss @impt last edited by

                    Oliver,

                    Thank you for pointing out this "exception" to the Schema placement rule.  As is the case with any structured markup solution, there will, from time to time, be cases where certain, specific elements go in the "head" section of the code.  Anything that applies to an individual page in its entirety, and does not limit itself to an element of content within the page does, in fact, belong in the "head" area of the page code.

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    • [Organization schema] Which Facebook page should be put in "sameAs" if our organization has separate Facebook pages for different countries?
                      0
                      2
                      18

                    • Blog Page Titles - Page 1, Page 2 etc.
                      Paul-Gross
                      Paul-Gross
                      0
                      8
                      549

                    • Author schema and Wordpress Author Page
                      vmialik
                      vmialik
                      0
                      3
                      351

                    • 2 links on home page to each category page ..... is page rank being watered down?
                      QubaSEO
                      QubaSEO
                      0
                      6
                      436

                    • Schema Tags Configuration - Ecommerce Category Pages
                      EricaMcGillivray
                      EricaMcGillivray
                      0
                      2
                      1.8k

                    • Schema.org for category pages
                      CoreyEulas
                      CoreyEulas
                      0
                      2
                      3.6k

                    • Page rank 2 for home page, 3 for service pages
                      Alex-Harford
                      Alex-Harford
                      0
                      8
                      498

                    • Google search result going to a page that I did not put on my site
                      RupDog
                      RupDog
                      0
                      5
                      575

                    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