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
-
Schema Markup for Multiple Locations
I am reaching out to see if I correctly set up Schema Markup on our website for multiple locations.Our company has HQ in Little Chute WI but we have 6 other office locations. We have a separate page for each office within our website. I inserted ProfessionalService Schema Markup, using GTM. I used the address of our HQ Little Chute office on all pages besides the 6 pages that have different office locations. I then individually set up unique ProfessionalService Schema Markup for the 6 locations with their unique location addresses. Did I do this correctly? Thanks
Intermediate & Advanced SEO | | CharityHBS0 -
One domain or two for one company with two lines of business?
Let's say you are building a new company that is involved in two lines of business. Let's for example say one line of business is handling logistics for large conventions where the customer(s) are large corporation and the other line is for wedding planning. Let's say that for certain reasons the owner wants to operate under one brand name, say "PROEVENT" So they will market themselves as PROEVENT Convention Logistics and PROEVENT Wedding Planners. From an SEO perspective, if you have one side of the business doing B-to-B corporate business and the other doing B-to-C do you create two different websites on different domains (proeventconventions.com and proeventweddings.com) with unique design and content, or, do you just use provent.com in order to build better domain authority and on your marketing you use conventions.provent.com that takes you to the convention section of the website and weddings.provent.com takes you to the weddings section?
Intermediate & Advanced SEO | | Jazee0 -
Handling pages that are no longer relevant (both permanently and temporarily)
Hi, We run a travel site with a number of programs, and each program has its own dedicate page, ie example.com/programs/program-xyz Some of these programs stop running and we no longer offer them, other-times they are on hold and will be reactivated later. Our old strategy was to 301-redirect these programs to another, relevant program. However, I believe that could be flawed. Would it not be a better solution to display the page as normal (with a 200 code) and instead of having the details of the program rather show some text saying the program has stopped and list a few suggestions. I just don't want to set off any spam-flags by pushing SE value via a 301 redirect to unrelated pages Here are some other scenarios I was thinking: For the program are only temporarily on-hold (ie not taking bookings for now) 302 redirect those to more appropriate pages For programs that are permanently on-hold (ie will never take bookings again) show a custom 404 or 410 page (With text with suggestions of different programs) Any suggestions or feedback on this would be most appreciated. -Jason
Intermediate & Advanced SEO | | Clickmetrics0 -
I have two sitemaps which partly duplicate - one is blocked by robots.txt but can't figure out why!
Hi, I've just found two sitemaps - one of them is .php and represents part of the site structure on the website. The second is a .txt file which lists every page on the website. The .txt file is blocked via robots exclusion protocol (which doesn't appear to be very logical as it's the only full sitemap). Any ideas why a developer might have done that?
Intermediate & Advanced SEO | | McTaggart0 -
Schema Markup Showing On Some Pages But Not Others
We have implemented Schema markup for Reviews on product pages. All these pages check out in the Markup Checker Tool in Webmaster Tools, but out in the wild only about 50% of them are actually showing the Review markup in SERPs. Example of a page showing Review markup successfully: http://www.cloud9living.com/los-angeles/drive-a-stock-car And example of a page not showing markup in the SERPs: http://www.cloud9living.com/las-vegas/race-a-ferrari Any ideas on why some SERPs show markup and others do not? Thanks!
Intermediate & Advanced SEO | | GManSEO0 -
What can I do to put these pages back in the top results?
Hello here, here is an interesting question for you. The following 2 webpages from our website have been ranking well on Google (usually on the 1st or 2nd page) for the past 12 years. They are among our oldest, highly relevant product pages on our site: http://www.virtualsheetmusic.com/score/Moonlight.html http://www.virtualsheetmusic.com/score/Eliza.html And we could always find them with the keyword "moonlight sonata sheet music" or "fur elise sheet music". Now, since the last November these pages don't show up anymore despite they are still present in the index. It is pretty hard to understand why those pages don't show up in the search results for those keywords as they used to, above all if you consider that those are among our best, most popular and unique product pages! But instead to struggle to understand why we lost presence (Panda? Some unknown sort of penalization?), has anyone any suggestions to help us to have those pages back in the top results? What do you suggest to do in such kind of cases? Any ideas and thoughts are very welcome! Thank you in advance.
Intermediate & Advanced SEO | | fablau0 -
How to optimise a local business directory?
Hey All, I've a new client who is a local business directory designed to promote local businesses across the UK but starting in it's home town of Brighton in the UK. I'm a little stumped to know how I can start to optimise this site as most of the pages being created are from very different businesses and focus on different subjects. I realise this is going to be a long haul but wondered if there are any tips you guys know of. My client domain is: call-us-first.co.uk Thanks Steve
Intermediate & Advanced SEO | | stevecounsell0