Phone number Schema that Google WMT blog talked about this week throwing HTML Validation error
-
My code looks like this:
The HTML validation errors are these:
Attribute contacttype not allowed on element span at this point.
Attribute areaserved not allowed on element span at this point.
Attribute contactoption not allowed on element span at this point.
Attribute availablelanguage not allowed on element span at this point.Have I misread how to implement this schema or is html validation not up to speed and I should ignore for now?
Thanks!
-
Thanks for double checking for me. I appreciate it!
-
The rich snippet testing tool looks to show valid schema markup on the page you sent and the sample link I sent passed html5 validation. At this point looks like certain parts of the schema markup are not recognized by the validator. Good to know this is the case, thanks for sharing the link.
-
This page has the schema on the phone numbers in the top right and in the footer: http://m.mexpro.com/
-
Well the document in question needs to be formatted in HTML5, otherwise it will not validate correctly. So if you run an HTML4 or XHTML page through the HTML5 validator it will not pass. You can also check here to see if the structured data is implemented correctly. Are you able to provide an example of the page you are trying to validate?
-
I am positive I check with html4. I put the code in here so.... not sure what is up...Could the code put in for mobile look like it's in there twice and not validate?
-
Hello,
Are you sure you checked the HTML5 spec? This seems to validate for me and is only basic html5 with schema markup. It's possible you have not marked up the code properly. Google provides some examples to assist with this. I believe you need to do the full markup too, not just certain parts. Hope that helps.
-
It does not validate for html5, but thanks for your input.
-
Hello,
I believe it is valid under the HTML5 doctype, but not others. If you try and validate it under that doctype it clears validation. Generally I think you can ignore this issue for now as shouldn't cause any issues if it does not validate.
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
-
Google Places Competitor Category Ranks (Should we copy them?)
Competitors use "Interior designer" as primary category in Google My Business, they rank well in Google Places, across the phrases we target. Currently we use the same category, but "Office refurbishment service" would seem to be more relevant to us. Should we move to "Office refurbishment service" as the Primary category in Google My Business? If we do move would we need to change our citations? And for other keywords should we be influenced and copy the categories used by our competitors?
Local Listings | | GrouchyKids1 -
Google Local Changes Randomly & Our Site Keeps Dropping Off Search
I work for a university where we have 2 law schools. We have our one school on the other side of the state that has been around for a very long time, and then a newer school that is right on our main campus that has been around for about 5 - 10 years now. The newer of the 2 schools is having so much trouble being able to claim the name of the school in google search. If you type in the name of the school the other school (the one that has been around longer) was coming up in the google local on the right of the screen and their web URL was never showing up in search. This is a huge problem because the accreditations of the 2 schools are different, and students are showing up at the wrong school for their interviews. Search will only show a domain name that used to be owned by the older school but now gives information for both of the schools. So it'll show up in search results, but only under that other domain and not their own domain that has their name in the domain name. This school has an updated google mybusiness listing, and a google+ page with the correct listing. I've added some schema data around the business address on their site and JSON for the google+ page, and have re-indexed their sitemap a few times after some changes have been made and we are using their name more in the site. This fixed everything for a short while and we were getting the appropriate google local listing and their site was appearing in search results above the site that advertised both schools. Now, after about 3 months, it has reverted. I had the older school showing up in the google local, and the site that advertises both schools is the ONLY domain appearing. I've re-indexed the site after finding out that Drupal's timestamps that they automatically add to sitemaps aren't optimized for how google reads it. This has gotten the local listing back, but I still have the wrong domain appearing, it is the one advertises both schools instead of the domain that has this school's information. I don't mind that the one advertising both shows up, but if a user is searching for that particular school I would really like to get that domain to appear first above the one advertising both schools and the older school. Right now the new school isn't even in search results except for being under the site that advertises both. I wasn't sure if this was something that Moz Local could help me fix by adding the listing across the web, or if there is something else on the sites I can be doing to help them solidify their name in google search/local. Also - is this subdomain that is advertising both of them hurting them or help them? I was thinking about taking that domain down to one page that acts as a direction source to the 2 domains rather than having a ton of information and keywords that take over the results for their name since that domain is older (and used to be associated with the old school only before the new school was built) Thank you for any advice on this issue as I'm still pretty new to SEO and to the university. Thanks again!
Local Listings | | amaray4030 -
Express Update Error: Phone Call Verification Looping
In the latter half of the year I've noticed some changes with Express Update. When I get to the phone call verification point, everything works fine. The call goes through, I get the code on my screen and input it. However, what I've noticed is that the voice prompt says everything is complete, but on the screen it doesn't go to the dashboard. It loops back to the phone call verification phase. Every time I've had this issue, which is about 6 - 7 times now, I send an email to Infogroup and they tell me to customer support. Each time they tell me that their system has a bug. Express Update has not worked for almost 6 months now. The person helping me will always ask if I'm an SEO company. If you say yes, they will start pushing a new package. I'm just checking if anyone else has had this issue. I'm not sure if this is how they are vetting SEO companies. I'd like to make the phone call verification process easier.
Local Listings | | JasonKhoo0 -
Google My Business - two businesses, same location
I have client that has developed a new brand targeting a specific segment of their wider market - the more price sensitive customer. They have launched a website for this brand, which specialises in promoting special offers. Both operations have the same physical address and the new brand - that targets this niche, I believe has been set up as a service-area business on Google My Business. I think they should change this as they do publish their address on their website and do on occasion welcome customers on their premises. My question - at last! - is that can both businesses exist on Google Maps - with the same business address and is this the right way to proceed if I want to target directory listings for the new brand. Any thoughts welcomed! thanks.
Local Listings | | nathangdavidson21 -
Good service for loactions for google maps
Hi guys, I have one client from the locksmith niche. His service is in almost all the us but he dos not have fiscal location. Because that all the locksmith niche are consider a bit gray, so we noticed that Google not all the time accept the address (Virtual offices). Do you know good service that can give me good solution for this ? something that will give me good reliable address... Thanks
Local Listings | | EdmondHong870 -
Removing Unverified Listing From Google
We have an old unverified listing that has our information on it, but we can't get it off google. I told them months ago it was closed, and it is marked as closed in Google...but it still shows up. Moz Local is telling me this is an inconsistency that hurts our local rankings. I went to delete the page from our Google Business/Place, but if I did that, the warning said that I would just not have access to the page, and that the listing would still show up on google. How do I permanently get rid of those thing, so it's not longer an inconsistent listing? Ruben
Local Listings | | KempRugeLawGroup0 -
Clients are not showing up on Google Places (Maps)
Dear Esteemed Mozzers, I am having trouble with a few clients not showing up on the map for Google Maps (Places). What's interesting is that for one of my clients, a number of her competitors (some of them in the same office building) appear on the maps, however, my client does not. Nevertheless, this client is on G+, uses Yext, Yelp advertising, PPC with Google, etc. and as far as I'm concerned, has signed up for every other 'local' listing service of value. With that, I'm hoping you guys may be able to point me in the right direction to get my clients back on track and showing up on the Google Maps (Places) listings. Thank you all in advance for reading this, I look forward to your responses!
Local Listings | | maxcarnage0 -
2 businesses same phone number
I was wondering how I should approach a scenario where I am optimizing two different companies websites that have the same phone number but different addresses. This sounds like a weird scenario, however it is out of my control. Is treating them as two separate companies fine, or do I have to take special precautions when submitting business directories and what not? Thanks for everyone's help! As a side note, is their a way to use Moz Local with both companies, right now it is getting confused as to what business belongs to what listing.
Local Listings | | brfieger0