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.
Can Schema handle two sets of business hours?
-
I have a client who, due to covid, will have two sets of business hours. Morning hours for business customers, and afternoon hours for general customers. Is it possible to designate this distinction in schema?
-
What it will break is the ability to indicate that a place is closed over lunch-time with a single OpeningHoursSpecification node, which works currently because you can simply sort the times for opens/closes to reconstruct the intended order, like so:
<code># opens 8:00 - 12:30 and 14:00 - 20:00 opens 08:00:00 closes 12:30:00 opens 14:00:00 closes 20:00:00</code>
if you allow
<code># opens 20.00 - 02:00 next day opens 20:00:00 closes 02:00:00</code>
then there can be cases that become ambiguous, e.g. i. if you use more than one pair per OpeningHoursSpecification without making the case undecidable, like so:
<code># opens 8 - 16:00 and 21:00 - 9:00: next day opens 08:00:00 closes 16:00:00 opens 21:00:00 closes 09:00:00</code>
It could also mean opens 8:00 - 9:00 and 21:00 - 16:00 next day.
What might work is a rule that cross-midnight intervals are only allowed if you have exactly one pair of opens / closes properties. And we need to precisely define how this works in the light of additional statements for the next day of the week, in particular with validity constraints (like seasonal opening hours).
-
Hello,
covid I with you and your client safe days ahead
https://developers.google.com/search/docs/data-types/special-announcements
https://www.schemaapp.com/how-to/your-guide-to-covid-19-structured-data/ https://schema.org/CovidTestingFacility
https://support.google.com/business/answer/3039617?co=GENIE.Platform%3DiOS&hl=en
for Structured data I would use it like pharmacy’s do but name is what you like.
this tool will help you make your own
https://technicalseo.com/tools/schema-markup-generator/
Here are some great examples
<title>Dave's Department Store</title>
<scripttype="application ld+json"="">{
"@context":"https://schema.org",
"@type":"Store",
"image":[
"https://example.com/photos/1x1/photo.jpg",
"https://example.com/photos/4x3/photo.jpg",
"https://example.com/photos/16x9/photo.jpg"
],
"@id":"http://davesdeptstore.example.com",
"name":"Dave's Department Store",
"address":{
"@type":"PostalAddress",
"streetAddress":"1600 Saratoga Ave",
"addressLocality":"San Jose",
"addressRegion":"CA",
"postalCode":"95129",
"addressCountry":"US"
},
"geo":{
"@type":"GeoCoordinates",
"latitude":37.293058,
"longitude":-121.988331
},
"url":"http://www.example.com/store-locator/sl/San-Jose-Westgate-Store/1427",
"priceRange":"$$",
"telephone":"+14088717984",
"openingHoursSpecification":[
{
"@type":"OpeningHoursSpecification",
"dayOfWeek":[
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
],
"opens":"08:00",
"closes":"23:59"
},
{
"@type":"OpeningHoursSpecification",
"dayOfWeek":"Sunday",
"opens":"08:00",
"closes":"23:00"
}
],
"department":[
{
"@type":"Pharmacy",
"image":[
"https://example.com/photos/1x1/photo.jpg",
"https://example.com/photos/4x3/photo.jpg",
"https://example.com/photos/16x9/photo.jpg"
],
"name":"Dave's Pharmacy",
"telephone":"+14088719385",
"openingHoursSpecification":[
{
"@type":"OpeningHoursSpecification",
"dayOfWeek":[
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
],
"opens":"09:00",
"closes":"19:00"
},
{
"@type":"OpeningHoursSpecification",
"dayOfWeek":"Saturday",
"opens":"09:00",
"closes":"17:00"
},
{
"@type":"OpeningHoursSpecification",
"dayOfWeek":"Sunday",
"opens":"11:00",
"closes":"17:00"
}
]
}
]
}</scripttype="application>remember to submit the changes to google here [https://search.google.com/search-console/special-announcement](https://search.google.com/search-console/special-announcement) I didn’t finish the last one but the tool will help ma it work sincerely, Tom
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
-
How i can increase my page authority?
Hi, I have website and i want to increase my page authority. My website is latestdatabase.com I have making more backlinks but not good page authority so far. Please give me suggest.
Intermediate & Advanced SEO | | LatestMailingDatabase1 -
How to update Schema markup code to all pages of my website ?
Hi all i have a website with 1k+ pages and i have schema markup code for reviews and FAQ's, so need help in knowing how to update code for all pages in one go without using tag manager as updating to all pages manually is similar to impossible, let me know is there any way out to achieve the results and my website is built on word-press, awaiting for earliest reply......... Thanks
Intermediate & Advanced SEO | | atiagr1232 -
Event Schema for Multiple Occurrences
I am wondering the best way to mark up an event page with multiple occurrences. For example, we have an event that happens over the course of 4 sequential weekends:
Intermediate & Advanced SEO | | Your_Workshop
9/28-9/29
10/5-10/6
10/12-10/13
10/19-10/20 Our website allows us to enter multiple occurrences that results in a single event listing page which outputs all dates (to eliminate duplicate content, titles, metas, etc.) but allows each occurrence to output individually on our events calendar in the respective individual date. Each time the event is shown, it links to the same listing page. I am wondering if we can add event schema on a single listing multiple times to cover each occurrence. In the above example, we would have 4 schemas on the listing page for each date range/weekend. In our current schema, we end up with a start and end date identified as 9/28-10/20 but it is not clear that the event is just happening on the weekends with gaps in between. Any suggestions are welcome however, we are really trying to NOT list each as an individual event on the website both for the duplicate content issue and the extra burden on our client that lists events for a very large geographic area.0 -
For FAQ Schema markup, do we need to include every FAQ that is on the page in the markup, or can we use only selected FAQs?
The website FAQ page we are working on has more than 50 FAQs. FAQ Schema guidelines say the markup must be an exact match with the content. Does that mean all 50+ FAQs must be in the mark-up? Or does that mean the few FAQs we decided to put in the markup are an exact match?
Intermediate & Advanced SEO | | PKI_Niles0 -
Can a .ly domain rank in the United States?
Hello members. I have a question that I am seeking to confirm whether or not I am on the right track. I am interested in purchasing a .ly domain which is the ccTLD for Libya. The purpose of the .ly domain would be for branding purposes however at the same time I do not want to kill the websites ability to rank in Google.com (United States searches) because of this domain. Google does not consider .ly to be one of those generic ccTLDs like. io, .cc, .co, etc. that can rank and Bitly has also moved away from the .ly extension to a .com extension. Back in 2011 when there was unrest in Lybia, a few well known sites that utilized the .ly extension had their domains confiscated such as Letter.ly, Advers.ly and I think Bitly may have been on that list too however with the unrest behind us it is possible to purchase a .ly so being able to obtain one is not an issue. From what I can tell, I should be able to specify in Google Search Console that the website utilizing the .ly extension is a US based website. I can also do this with Google My Business and I will keep the Whois info public so the whois data can been seen as a US based website. Based on everything I just said do any of you think I will be OK if I were to register and use the .ly domain extension and still be able to rank in Google.com (US Searches). Confirmation would help me sleep better. Thanks in advance everyone and have a great day!!
Intermediate & Advanced SEO | | joemaresca0 -
Schema for restaurants and menus?
Hi all, Anyone have experience with using Schema for restaurants other than the normal local business NAP? Is there a way to use Schema markup for food menus as well? Examples and schema code much appreciated 🙂 Thanks!
Intermediate & Advanced SEO | | RickyShockley0 -
Two Different Domains exact same content
Hello, I suspect I know the answer to this but would like to have it confirmed. I have been speaking to a company the last couple of weeks who have 2 domains with the exact same content. Possible a third but they haven't supplied a link. This from all I've read would be a huge problem for ranking and SEO. What would be the best way to deal with this ? I did do a search and found articles/questions on same content on the same site and in articles etc but nothing about exactly the same websites on 2 domains. Cheers David.
Intermediate & Advanced SEO | | techdesign0 -
Splitting a Site into Two Sites for SEO Purposes
I have a client that owns a business that really could be easily divided into two separate business in terms of SEO. Right now his web site covers both divisions of his business. He gets about 5500 visitors a month. The majority go to one part of his business and around 600 each month go to the other. So about 11% I'm considering breaking off this 11% and putting it on an entirely different domain name. I think I could rank better for this 11%. The site would only be SEO'd for this particular division of the company. The keywords would not be in competition with each other. I would of course link the two web sites and watch that I don't run into any duplicate content issues. I worry about placing the redirects from the pages that I remove to the new pages. I know Google is not a fan of redirects. Then I also worry about the eventual drop in traffic to the main site now. How big of a factor is traffic in rankings? Other challenges include that the business services 4 major metropolitan areas. Would you do this? Have you done this? How did it work? Any suggestions?
Intermediate & Advanced SEO | | MSWD0