JSON Schema Script Closing Tags
-
Hello I can't get the following script to work. There seems to be something with the closing tags I've tried various combinations, however, no luck.
-
Hey!
Yeah you forgot to close some objects + arrays. This is at least validating but please make sure your objects are correct:
-
Hi Marge,
What do you mean by it not "working"? What, exactly, happens? Please, feel free to provide as much detail as possible.
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
-
Has Anyone Successfully implemented SpecialAnnouncement Schema?
Hello, I'm in the process of updating my clients' websites with the SpecialAnnouncement Schema type, and I'm wondering if anyone has successfully done so yet, and whether or not they're seeing any kind of results /richsnippets directly in SERPs from it? Also, has anyone else run into issues checking their schema with Google's Structured Data Testing Tool? Sometimes I get an error saying "specialAnnouncement is not a type known to Google," and sometimes I get one saying that "the property datePosted is not recognized by Google for an object of type SpecialAnnouncement." I assume these errors are because the schema type is so new, but you know what happens when you assume... Thank you for any insights!
Local Website Optimization | | LocalSEOLady0 -
Duplicate Schema Syntax
Is having both JSON and Microdata markup on one site detrimental to SEO? I'm unsure if Google would read it as spammy to have both.
Local Website Optimization | | GoogleAlgoServant2 -
Can I have multiple GeoShape Schema for one page on one domain?
Hi Mozers, I'm working on some Schema for a client of mine, but whilst doing the research on GeoShapes with my developer, we came across a potential issue with this particular mark-up. My client is B2C business, operating in numerous places across the UK. I want to use the Circle property from GeoShape to draw out multiple circles across the UK, but am I able to do this? From looking at some other websites, most seem to just have one GeoShape. Can I have multiple on the same page and same domain? Thanks! Virginia
Local Website Optimization | | Virginia-Girtz0 -
What is the SEO effect of schema subtype deprecation? Do I really have to update the subtype if there isn't a suitable alternative?
Could someone please elaborate on the SEO effect of schema subtype deprecation? Does it even matter? The Local business properties section of developers.google.com says to: Define each local business location as a LocalBusiness type. Use the most specific LocalBusiness sub-type possible; for example, Restaurant, DaySpa, HealthClub, and so on. Unfortunately, the ProfessionalService page of schema.org states that ProfessionalService has been deprecated and many of my clients don't fit anywhere else (or if they do it's not a LocalBusiness subtype). I find it inconvenient to have to modify my different clients' JSON-LD from LocalBusiness to ProfessionalService back to LocalBusiness. I'm not saying this happens every day but how does one keep up with it all? I'm really trying to take advantage of the numerous types, attributes, etc., in structured data but I feel the more I implement, the harder it will be to update later (true of many things, of course). I do feel this is important and that a better workflow could be the answer. If you have something that works for you, please let us know. If you think it's not important tell us why not? (Why Google is wrong) I understand there is always a better use of our time, but I'd like to limit the discussion to solving this Google/Schema.org deprecation issue specifically.
Local Website Optimization | | bulletproofsearch0 -
Applying NAP Local Schema Markup to a Virtual Location: spamming or not?
I have a client that has multiple virtual locations to show website visitors where they provide delivery services. These are individual pages that include unique phone numbers, zip codes, city & state. However there is no address (this is just a service area). We wanted to apply schematic markup to these landing pages. Our development team successfully applied schema to the phone, state, city, etc. However for just the address property they said VIRTUAL LOCATION. This checked out fine on the Google structured data testing tool. Our question is this; can just having VIRTUAL LOCATION for the address property be construed as spamming? This landing page is providing pertinent information for the end user. However since there is no brick and mortar address I'm trying to determine if having VIRTUAL LOCATION as the value could be frowned upon by Google. Any insight would be very helpful. Thanks
Local Website Optimization | | RosemaryB1 -
Struggling with My Title Tag...
I have read so many articles that stress the importance of the Title tag but I am having a hard time really finding good advice on what we should do. Everywhere I read stresses the importance of short title tags due to Google's display limitations but also the importance of including important keywords in our title - talk about a catch 22. Our Law Firm is "Brock & Stout Attorneys at Law" and we have 3 primary services: Bankruptcy, Social Security Disability, Personal Injury. We have 6 office locations all around Alabama. Our website is: http://www.brockandstout.com/ The current title is: "Alabama Bankruptcy Attorneys | Social Security Disability | Personal Injury | Brock & Stout Attorneys at Law" - 108 characters (well over the 70 recommended characters, but does contain our Brand, and Services) Is this a good title for SEO purposes? Should we consider making a change? We are ranking "ok" for certain locations and then barely at all for others. I know the title tag is just one of a million factors but I would love some advice/opinions from those who know much more than I. Thanks for any input you may have.
Local Website Optimization | | MattStamant0 -
Closed Location Pages - 301 to open locations?
I work with several thousand local businesses and have a listing page for each on my site. Recently a large chunk of these locations closed, and a number of these pages rank well for localized keywords. I'm trying to figure out the best course of action.
Local Website Optimization | | Andrew_Mac
What I've done so far is make a note on each of the closed location pages that says something to the effect of "This location is currently closed. Here are some nearby options" and provide links to the location pages of 3 open places nearby. The closed location pages are continuing to rank well, but conversion rates from visitors landing on these pages has dropped. What I'm considering doing is 301ing these pages to the nearest open location page. I'm hoping this will preserve the ranking of the page for keywords for which the nearby location is still relevant, while not hurting user experience by serving up a closed location. I'm also thinking of, as a second step, creating new pages (with slightly altered URLs) for the closed listings. They won't rank as well obviously, but if someone searches for the address or even the street of the closed location, my hope is that I could still capture some of that traffic and hope to convert it through someone clicking through to an open location from there. I spoke with someone about this second step and he thought it sounded spammy. My thinking is, combined with the 301, I'm telling Google that the page it is currently ranking well no longer has the importance it once did and that the page I'm 301ing to does, but that the content on the page I'm creating for the closed location still has enough value to justify the newly created page. I'd really appreciate thoughts from the community on this. Thanks!0 -
Does Schema Replace Conventional NAP in local SEO?
Hello Everyone, My question is in regards to Schema and whether the it replaces the need for the conventional structured data NAP configuration. Because you have the ability to specifically call out variables (such as Name, URL, Address, Phone number ect.) is it still necessary to keep the NAP form-factor that has historically been required for local SEO? Logically it makes sense that schema would allow someone to reverse this order and still achieve the same result, however I have yet to find any conclusive evidence of this being the case. Thanks, and I look forward to what the community has to say on this matter.
Local Website Optimization | | toddmumford0