Mircodata markup container in body of page
-
I have a question about the "container" that's created whenever microdata markup is applied. What is the purpose of this? I know Google says it helps them understand your content etc. but it creates a really bad eyesore wherever microdata markup is used. Basically a box with all the markup details right there in the body. Has anyone else experienced this? Is this why microdata markup has been so slow to be adopted by webmasters? I understand "hiding" the box in your CSS is not a good idea either. Any help would be appreciated. Thanks
-
Thank you very much. That is just what I was looking for.
-
Hello,
The plugin creates a new CSS file, which you can access and control to make the data appear any way you like:
http://historyofmormonism.com/wp-content/plugins/schema-creator/lib/css/schema-style.css?ver=1.050Yes, the data that you are marking up needs to appear on the page, but you can mark up existing data instead of using a plugin that adds new data to the page. Or you can use the plugin to add the data to the page and customize the look by adjusting the CSS file.
My advice would be to learn how to add the markup yourself so you can just apply it to whatever it is on the page that you're trying to mark-up instead of relying on the plugin. This way you don't get the ugly box. It isn't that difficult if you can already do basic HTML. For example:
Here is what the plugin is doing:
Alex Baugh
Brigham Young University
ProfessorThe Div ID for "Schema_block" is what is creating that container. In the CSS file I linked to above it reads as follows (bolding is mine):
#schema_block {
clear:both;
margin:0 auto 10px auto;
** background: #EEEEEE;**
** border: 1px solid #CCCCCC;**
padding: 1em;
overflow: hidden;
}You can make that look like whatever you want it to look like. For instance, you could completely remove the margin, background, border and padding. It's not the "box" that Google needs to see, it's the content (e.g. Alex Baugh, Brigham Young University, Professor) on the page and the markup in the code that surrounds it.
I hope this clarifies the issue for you. A good designer/developer should be able to provide further assistance if you are not comfortable editing code or CSS files.
-
Does anyone else have insight on this?
-
The site is in Wordpress and I've been using a plugin called all in one schema.org rich snippets and schema creator by raven tools.
- As you can see it creates quite the eye sore especially if you were to start marking up a lot of stuff. Here is an example:
http://historyofmormonism.com/2014/03/26/hawns-mill-massacre-1838-resulted-30-mormon-casualties/
-
Schema creator by raven tools lets you add markup right into the body of the page like you will see about a paragraph down. I "marked up" the person Alex Baugh just for an example. You will notice the container it creates right inside the article.
-
If you scroll down to the bottom you'll notice a larger summary box, this is created by the other plugin; all in one schema.org rich snippets that marks up and creates a summary of the overall webpage.
-
If you look at the support forums for this plugin here: http://wordpress.org/support/topic/all-the-info-i-fill-goes-directly-into-my-post?replies=5#post-4030332
-
One of the authors of the plugin mentions that this box is necessary and includes a link to Google Webmaster forums backing it up, the 4th question down here:
https://sites.google.com/site/webmasterhelpforum/en/faq-rich-snippets#display
-
I also thought that maybe it was only this one plugin; all in one schema.org rich snippets but this other plugin from Raven Tools does the same thing. These two plugins are also two of the most popular schema microdata plugins on Wordpress.
-
This person has a similar question about the raven tools plugin
https://github.com/raventools/schema-creator/issues/104Thanks for your replies, I really appreciate it.
-
I am pretty sure you are doing it wrong. Can you link me? The markup should all be hidden normally, it is used as a way to describe elements that are on the page already, not for adding new elements.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
External 404 pages
A client of mine is linking to a third-party vendor from their main site. The page being linked to loads with a Page Not Found error and then replaces some application content once the Javascript kicks in. This process is not visible to users (the application loads fine for front-end users) but it is being picked up as a 404 error in broken link reports. This link is part of the site skin so it's on every page. Outside of the annoyance of having lots of 404 errors being flagged in a broken link report, does this cause any actual issue? Eg, do search enginges see that my client is linking to something that is a 404 error, and does that cause them any harm?
Intermediate & Advanced SEO | | mkleamy0 -
Page not ranking because of React.js ?
Hey guys, I'm struggling with this part of my website which uses react.js . My developers used this saying it's much better and much quicker (which I think so too) but we have really low traffic coming from google compared to the other parts of the website (not using react.js). Moz gives me a score of 85% for the page but we get less than 100 visits / day and we were targeting 10.000 visits/day giving the traffic of this section in our competitors website (our whole website has 60.000 visits / day). (Section is online since 3 months now) Can you help me see what is wrong there ? I'm in Belgium so we have the website in 3 languages (FR/NL/EN) but the most important ones are FR & NL. FR : https://gocar.be/fr/prix-voitures-neuves/Audi/A3/A3-Sportback/1-0-TFSI_39CER NL : https://gocar.be/nl/prijzen-nieuwe-wagens/Audi/A3/A3-Sportback/1-0-TFSI_39CER EN : https://gocar.be/en/price-new-cars/Audi/A3/A3-Sportback/1-0-TFSI_39CER Main competitors having a better ranking than us (exemple in FR) : https://www.moniteurautomobile.be/modele--audi--a3/prix.html https://www.vroom.be/fr/prix/audi-a3/citadine-2012/197 Cheers ! Jean-Philippe
Intermediate & Advanced SEO | | Gocar_be0 -
Why does Google rank a product page rather than a category page?
Hi, everybody In the Moz ranking tool for one of our client's (the client sells sport equipment) account, there is a trend where more and more of their landing pages are product pages instead of category pages. The optimal landing page for the term "sleeping bag" is of course the sleeping bag category page, but Google is sending them to a product page for a specific sleeping bag.. What could be the critical factors that makes the product page more relevant than the category page as the landing page?
Intermediate & Advanced SEO | | Inevo0 -
Substantial difference between Number of Indexed Pages and Sitemap Pages
Hey there, I am doing a website audit at the moment. I've notices substantial differences in the number of pages indexed (search console), the number of pages in the sitemap and the number I am getting when I crawl the page with screamingfrog (see below). Would those discrepancies concern you? The website and its rankings seems fine otherwise. Total indexed: 2,360 (Search Consule)
Intermediate & Advanced SEO | | Online-Marketing-Guy
About 2,920 results (Google search "site:example.com")
Sitemap: 1,229 URLs
Screemingfrog Spider: 1,352 URLs Cheers,
Jochen0 -
Home page not being indexed
Hi Moz crew. I have two sites (one is a client's and one is mine). They are both Wordpress sites and both are hosted on WP Engine. They have both been set up for a long time, and are "on-page" optimized. Pages from each site are indexed, but Google is not indexing the homepage for either site. Just to be clear - I can set up and work on a Wordpress site, but am not a programmer. Both seem to be fine according to my Moz dashboard. I have Webmaster tools set up for each - and as far as I can tell (definitely not an exper in webmaster tools) they are okay. I have done the obvious and checked that the the box preventing Google from crawling is not checked, and I believe I have set up the proper re-directs and canonicals.Thanks in advance! Brent
Intermediate & Advanced SEO | | EchelonSEO0 -
Orphan My Home Page
I want to orphan a home page on a site that I own so that the start page becomes site.com/home (or whatever) as opposed to site.com/. I need to accomplish this without associating the former with the latter...meaning no 301. Since this will not be a temporary move, 302 does not seem to work either. And even if I could use it, I don't want to credit / with anything from /home. Is there any way to default the Apache handler to /home without rewriting the URL? Or is there any other solution? The bottom line is, at the end of the day, I need Google to forget about / and anything associated with it, without interrupting the user experience when they request /. Thanks in advance.
Intermediate & Advanced SEO | | NTGproducts0 -
Remove Landing Pages?
Howdy Guys, I've just been listening to the latest edition of whiteboard Friday regarding the over-optimization penalty. I'm just wondering if we should remove alot of make specifc landing pages... For instance we have a landing pages for our top 20 cars... For instance "bmw keyword" or "audi keyword" What do you guys think? remove them and 301 the pages to the homepage? Thanks, Scott
Intermediate & Advanced SEO | | ScottBaxterWW0 -
Sudden drop in page rank
Hi One of our client websites has had a sudden drop in rankings, and also in page rank. We have obviously been off for 2 weeks, so havent been blogging daily etc as we normally would have. Would this cause such a drop? Some keywords have lost from position 2/3 to page 7 over night, and we havent change the strategy! Thanks,
Intermediate & Advanced SEO | | SEOwins0