Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
A few questions on Google's Structured Data Markup Helper...
-
I'm trying to go through my site and add microdata with the help of Google's Structured Data Markup Helper. I have a few questions that I have not been able to find an answer for. Here is the URL I am referring to: http://www.howlatthemoon.com/locations/location-chicago
- My company is a bar/club, with only 4 out of 13 locations serving food. Would you mark this up as a local business or a restaurant?
- It asks for "URL" above the ratings. Is this supposed to be the URL that ratings are on like Yelp or something? Or is it the URL for the page? Either way, neither of those URLs are on the page so I can't select them. If it is for Yelp should I link to it?
- How do I add reviews? Do they have to be on the page?
- If I make a group of days for Day of the Week for Opening hours, such as Mon-Thu, will that work out?
- I have events on this page. However, when I tried to do the markup for just the event it told me to use itemscope itemtype="http://schema.org/Event" on the body tag of the page. That is just a small part of the page, I'm not sure why I would put the event tag on the whole body?
Any other tips would be much appreciated. Thanks!
-
Howl,
1. I would mark all up as a food establishment. Under menu/cuisine where you serve no food I would simply put an alcohol menu or link or on cuisine put we server beer, wine, tequila. etc. The reason is this: you are using schema because it is good for you and the search engines. Within the various schema are other properties. So for FoodEstablishment there is ... Bar or Pub. A bar or pub is a food establishment. So is an ice cream shop, winery, brewery, etc.
2. This is the page url. For me in Houston... http://www.howlatthemoon.com/locations/location-houston
3. I suggest you put in your own review schema and make the site where your customers can review you. Why would you want to serve yelp?? What do they do for you? Your site is using Joomla and with a quick check I found several review plugins you could utilize to make life simpler. We do not use Joomla as much but we often use a review plugin with our WP sites. And, it passes the markup test with Google.
4. Opening Hours - Here is the schema for opening hours. Pretty easy. If you look at the bottom of Local Business, you will see what will or will not work.
5. Here is the actual event schema from Schema.org
-
Upcoming shows
-
<div< span="">itemprop="event"itemscopeitemtype="http://schema.org/Event"></div<>
-
<a< span="">href="foo-fighters-may20-fedexforum"itemprop="url"></a<>
-
<span< span="">itemprop="name">FedExForum</span<>
-
<span< span="">itemprop="location">Memphis, TN, US</span<>
-
<meta< span="">itemprop="startDate"content="2011-05-20">May 20</meta<>
-
<a< span="">href="ticketmaster.com/foofighters/may20-2011"itemprop="offers">Buy tickets</a<>
-
<div< span="">itemprop="event"itemscopeitemtype="http://schema.org/Event"></div<>
-
<a< span="">href="foo-fighters-may23-midamericacenter"itemprop="url"></a<>
-
<span< span="">itemprop="name">Mid America Center</span<>
-
<span< span="">itemprop="location">Council Bluffs, IA, US</span<>
-
<meta< span="">itemprop="startDate"content="2011-05-23">May 23</meta<>
-
<a< span="">href="ticketmaster.com/foofighters/may23-2011"itemprop="offers">Buy tickets</a<>
So, you are going down the right path, I have never been to Howl in Houston but will check it out.
Best,
Robert
-
-
You can do either but the net effect is different. If you set things up for reviews on your page you will get these reviews indexed as content on your page and if marked up properly this will index on the major review sites(excluding Yelp I believe). You also have the advantage of control over what is or is not published. The down side to this is that you will need someone with skills to program this and do the mark up properly. You also need someone managing this prt of the web site.
The other way is to use an embedded link for the review sites. This will get the reviews done off of your site. These off site reviews can create inbound links. For Yelp this is pretty much the only way to do it.
I would factor in the review sites people use for Bars in Chicago, is it Redeye, Yelp, or Citysearch for example. I would set up my site that favors where people look for reviews when deciding whether or not to come to your business.
Hope this is clearer than mud.
Ron
-
Thanks for the response. So to clarify, to use the reviews I must have the actual reviews on the page. They cannot simply be linked to without putting them on the actual page?
-
Ok let's go through these questions on by one below:
My company is a bar/club, with only 4 out of 13 locations serving food. Would you mark this up as a local business or a restaurant?
I would mark the locations that have food as restaurants and the ones that do not as local business. I would set up and write a unique description for each location.
It asks for "URL" above the ratings. Is this supposed to be the URL that ratings are on like Yelp or something? Or is it the URL for the page? Either way, neither of those URLs are on the page so I can't select them. If it is for Yelp should I link to it?
You can either link to your off site reviews sites by getting an embed code or you can write some code with structured mark up to embed reviews into your web site that will be indexed by the search engines. There are references on line about how to do this.
How do I add reviews? Do they have to be on the page?
Look at answer above. As a sidenote you should make it a mission to get 10 reviews on Yelp, Google, and Bing for each location as this helps your local results.
If I make a group of days for Day of the Week for Opening hours, such as Mon-Thu, will that work out?
Yes
I have events on this page. However, when I tried to do the markup for just the event it told me to use itemscope itemtype="http://schema.org/Event" on the body tag of the page. That is just a small part of the page, I'm not sure why I would put the event tag on the whole body?
Can't help you on this one.
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
-
Does Google ignore content styled with 'display:none'?
Do you know if an H1 within a div that has a 'display: none' style applied will still be crawled and evaluated by Google? We have that situation on this page on line 136: view-source:https://www.junk-king.com/services/items-we-take/foreclosure-cleanouts Of course we also have an H1 up at the top of the page and are concerned that the second one will cause interference with our SEO efforts. I've seen conflicting and inconclusive information on line - not sure. Thanks for any help.
Intermediate & Advanced SEO | | rastellop0 -
Should HTML be included in the structured data (schema) markup for the main body content?
Lately we have been applying structured data to the main content body of our client's websites. Our lead developer had a good question about HTML however. In JSON-LD, what is the proper way to embed content from a data field that has html markup (i.e. p, ul, li, br, tags) into mainContentOfPage. Should the HTML be stripped our or escaped somehow? I know that apply schema to the main body content is helpful for the Googlebot. However should we keep the HTML? Any recommendations or best practices would be appreciated. Thanks!
Intermediate & Advanced SEO | | RosemaryB0 -
URL Injection Hack - What to do with spammy URLs that keep appearing in Google's index?
A website was hacked (URL injection) but the malicious code has been cleaned up and removed from all pages. However, whenever we run a site:domain.com in Google, we keep finding more spammy URLs from the hack. They all lead to a 404 error page since the hack was cleaned up in the code. We have been using the Google WMT Remove URLs tool to have these spammy URLs removed from Google's index but new URLs keep appearing every day. We looked at the cache dates on these URLs and they are vary in dates but none are recent and most are from a month ago when the initial hack occurred. My question is...should we continue to check the index every day and keep submitting these URLs to be removed manually? Or since they all lead to a 404 page will Google eventually remove these spammy URLs from the index automatically? Thanks in advance Moz community for your feedback.
Intermediate & Advanced SEO | | peteboyd0 -
Do links to PDF's on my site pass "link juice"?
Hi, I have recently started a project on one of my sites, working with a branch of the U.S. government, where I will be hosting and publishing some of their PDF documents for free for people to use. The great SEO side of this is that they link to my site. The thing is, they are linking directly to the PDF files themselves, not the page with the link to the PDF files. So my question is, does that give me any SEO benefit? While the PDF is hosted on my site, there are no links in it that would allow a spider to start from the PDF and crawl the rest of my site. So do I get any benefit from these great links? If not, does anybody have any suggestions on how I could get credit for them. Keep in mind that editing the PDF's are not allowed by the government. Thanks.
Intermediate & Advanced SEO | | rayvensoft0 -
Two Pages with the Same Name Different URL's
I was hoping someone could give me some insight into a perplexing issue that I am having with my website. I run an 20K product ecommerce website and I am finding it necessary to have two pages for my content: 1 for content category pages about wigets one for shop pages for wigets 1st page would be .com/shop/wiget/ 2nd page would be .com/content/wiget/ The 1st page would be a catalogue of all the products with filters for the customer to narrow down wigets. So ultimately the URL for the shop page could look like this when the customer filters down... .com/shop/wiget/color/shape/ The second page would be content all about the Wigets. This would be types of wigets colors of wigets, how wigets are used, links to articles about wigets etc. Here are my questions. 1. Is it bad to have two pages about wigets on the site, one for shopping and one for information. The issue here is when I combine my content wiget with my shop wiget page, no one buys anything. But I want to be able to provide Google the best experience for rankings. What is the best approach for Google and the customer? 2. Should I rel canonical all of my .com/shop/wiget/ + .com/wiget/color/ etc. pages to the .com/content/wiget/ page? Or, Should I be canonicalizing all of my .com/shop/wiget/color/etc pages to .com/shop/wiget/ page? 3. Ranking issues. As it is right now, I rank #1 for wiget color. This page on my site would be .com/shop/wiget/color/ . If I rel canonicalize all of my pages to .com/content/wiget/ I am going to loose my rankings because all of my shop/wiget/xxx/xxx/ pages will then point to .com/content/wiget/ page. I am just finding with these massive ecommerce sites that there is WAY to much potential for duplicate content, not enough room to allow Google the ability to rank long tail phrases all the while making it completely complicated to offer people pages that promote buying. As I said before, when I combine my content + shop pages together into one page, my sales hit the floor (like 0 - 15 dollars a day), when i just make a shop page my sales are like (1k+ a day). But I have noticed that ever since Penguin and Panda my rankings have fallen from #1 across the board to #15 and lower for a lot of my phrase with the exception of the one mentioned above. This is why I want to make an information page about wigets and a shop page for people to buy wigets. Please advise if you would. Thanks so much for any insight you can give me!
Intermediate & Advanced SEO | | SKP0 -
Soft 404's from pages blocked by robots.txt -- cause for concern?
We're seeing soft 404 errors appear in our google webmaster tools section on pages that are blocked by robots.txt (our search result pages). Should we be concerned? Is there anything we can do about this?
Intermediate & Advanced SEO | | nicole.healthline4 -
Adding index.php at the end of the url effect it's rankings
I have just had my site updated and we have put index.php at the end of all the urls. Not long after the sites rankings dropped. Checking the backlinks, they all go to (example) http://www.website.com and not http://www.website.com/index.php. So could this change have effected rankings even though it redirects to the new url?
Intermediate & Advanced SEO | | authoritysitebuilder0 -
Is 404'ing a page enough to remove it from Google's index?
We set some pages to 404 status about 7 months ago, but they are still showing in Google's index (as 404's). Is there anything else I need to do to remove these?
Intermediate & Advanced SEO | | nicole.healthline0