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
-
Pillar pages and blog pages
Hello, I was watching this video about pillar pages https://www.youtube.com/watch?v=Db3TpDZf_to and tried to apply it to my self but find it impossible to do (but maybe I am looking at it the wrong way). Let's say I want to rank on "Normandy bike tou"r. I created a pillar page about "Normandy bike tour" what would be the topics of the subpages boosting that pillar page. I know that it should be questions people have but in the tourism industry they don't have any, they just want us to make them dream !! I though about doing more general blog pages about things such as : Places to rent a bike in Normandy or in XYZ city ? ( related to biking) Or the landing sites in Normandy ? (not related to biking) Is it the way to do it, what do you recommend ? Thank you,
Intermediate & Advanced SEO | | seoanalytics0 -
Webshop landing pages and product pages
Hi, I am doing extensive keyword research for the SEO of a big webshop. Since this shop sells technical books and software (legal books, tax software and so on), I come across a lot of very specific keywords for separate products. Isn't it better to try and rank in the SERP's with all the separate product pages, instead of with the landing (category) pages?
Intermediate & Advanced SEO | | Mat_C0 -
2 pages competing
Hi all, My website currently has 2 pages that address the theme 'property investment in manchester' or 'buy to let manchester'. https://www.knightknox.com/developments/manchester/ https://www.knightknox.com/investments/manchester I am a bit concerned that we are competing against ourselves for these keywords. In my opinion the /investments page provides better content, but the /developments page ranks higher in Google. What do you think would be the best course of action?: Leave as is Merge the contents of both pages Redirect the /developments to /investments Or something else? Any ideas welcome. Thanks
Intermediate & Advanced SEO | | brian-madden0 -
Help with duplicate pages
Hi there, I have a client who's site I am currently reviewing prior to a SEO campaign. They still work with the development team who built the site (not my company). I have discovered 311 instances of duplicate content within the crawl report. The duplicate content appears to either be 1, 2, or 3 versions of the same pages but with differing URL's. Example: http://www.sitename.com http://sitename.com http://sitename.com/index.php And other pages follow a similar or same pattern. I suppose my question is mainly what could be causing this and how can I fix it? Or, is it something that will have to be fixed by the website developers? Thanks in advance Darren
Intermediate & Advanced SEO | | SEODarren0 -
I have 2 keywords I want to target, should I make one page for both keywords or two separate pages?
My team sells sailboats and pontoon boats all over the country. So while they are both boats, the target market is two different types of people... I want to make a landing page for each state so if someone types in "Pontoon Boats for sale in Michigan" or "Pontoon boats for sale in Tennessee," my website will come up. But I also want to come up if someone is searching for sailboats for sale in Michigan or Tennessee (or any other state for that matter). So my question is, should I make 1 page for each state that targets both pontoon boats and sailboats (total of 50 landing pages), or should I make two pages for each state, one targeting pontoon boats and the other sailboats (total of 100 landing pages). My team has seen success targeting each state individually for a single keyword, but have not had a situation like this come up yet.
Intermediate & Advanced SEO | | VanMaster0 -
How long takes to a page show up in Google results after removing noindex from a page?
Hi folks, A client of mine created a new page and used meta robots noindex to not show the page while they are not ready to launch it. The problem is that somehow Google "crawled" the page and now, after removing the meta robots noindex, the page does not show up in the results. We've tried to crawl it using Fetch as Googlebot, and then submit it using the button that appears. We've included the page in sitemap.xml and also used the old Google submit new page URL https://www.google.com/webmasters/tools/submit-url Does anyone know how long will it take for Google to show the page AFTER removing meta robots noindex from the page? Any reliable references of the statement? I did not find any Google video/post about this. I know that in some days it will appear but I'd like to have a good reference for the future. Thanks.
Intermediate & Advanced SEO | | fabioricotta-840380 -
Rel Canonical on Home Page
I have a client who says they can't implement a 301 on their home page. They have tow different urls for their home page that are live and do not redirect. I know that the best solution would be to redirect one to the main URL but they say this isn't possible. So they implemented the rel canonical instead. Is this the second best solution for them if they can't redirect? Will the link juice be passed through the rel canonical? Thanks!
Intermediate & Advanced SEO | | AlightAnalytics0 -
What to do if the wrong page is ranking?
What to do if the wrong page of your website is ranking and you cannot 301 it? Apparently an outsourced company the previous manager hired build anchor text links to the homepage, when those links should have been pointing to a deeper page. As a result, the hompage is now ranking for that term. But I think we can convert a lot more of the visitors if the deeper page is there instead. Obviously, I can't 301 the homepage. What would you do?
Intermediate & Advanced SEO | | andrep0