Forum Moderators: phranque

Message Too Old, No Replies

Schema Question - How, When, Where and Why?

         

Cabby

7:06 pm on Jun 1, 2015 (gmt 0)

10+ Year Member



Hi, my name is Liza. I own a small two cab taxi biz in College Station Tx. Anyone know anything about schema. I have been trying to get it right for months, but no can do. From what I have read in his forum I know there are some smart people here. Maybe some of those smarts can help?

My 1st question. Does schema markup go in the head tags or body?

Below is what I had in the head. Also tried it in the body. Webmaster tools showed I had something wrong? I removed my web addy and replaced it with example. Didn't want to come across as a spammer. I don't like em either.


<script type="application/ld+json">
{ "@context" : "http://schema.org",
"@type" : "WebSite",
"name" : "Profiles",
"alternateName" : "Photo's & short driver bio",
"url" : "http://www.example.com/taxi-driver-profiles.html"
}
</script>

<script type="application/ld+json">
{ "@context" : "http://schema.org",
"@type" : "WebSite",
"name" : "Rates",
"alternateName" : "Local, hourly, group & flat rates",
"url" : "http://www.example.com/taxi-fare-rates.html"
}
</script>


[schema.org...]


Don't mean to jump right in begging for answers, but it is the sole reason I joined. I'm not good enough to give advice, the reason I am seeking it.

Cabby

7:16 pm on Jun 1, 2015 (gmt 0)

10+ Year Member



I might have posted in the wrong cat. Sorry if I did.

not2easy

8:40 pm on Jun 1, 2015 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Category is OK, Liza, welcome to the forums. There are other discussions about schema or "Rich Snippets" markup over in the Google SEO News and Discussion Forum: [webmasterworld.com...] but it's not off topic here either. To find other discussions you can use the search up in the top right corner (on desktop anyway) but you may find it overwhelming and not sorted by date.

One of the Free Tools here helps you write the code: [freetools.webmasterworld.com...] I have not used it but it is free to try.

Schema markup is something I don't use myself, but I keep a list of links to Google help sections handy and the one with all the secrets for this topic are at [developers.google.com...] and they offer a tool for testing while you set it up.

There are some experienced people here who do well with this markup, so apparently it can be worth the trouble.

msenza

9:33 am on Jun 3, 2015 (gmt 0)

10+ Year Member



Hi Lisa

My 1st question. Does schema markup go in the head tags or body?


If you are not very familiar with JSON I would recommande you to insert you schema.org right in you in body's HTML, around the content you are trying to structure. You can see on the bottom of this page [schema.org...] , on the tab "microdata" you can see an example of how to implement schema's right in your HTML (example is for services, but same technique with everything)

Google provides a tester where you can insert the code of you page and see if you've inserted your schema info well (kind of like a debugg) [developers.google.com...]

Hope this could help you out

Best regards

Cabby

8:02 pm on Jun 5, 2015 (gmt 0)

10+ Year Member



Thank You very much. Good advice from both of you. Tomorrow being Saturday I will have some spare time to try again. I've had a very busy work week. Ready for the weekend. I'm not going to give up until I learn how and get it right. There are some amazing tools available here. Amazing people who are willing to help others too.

tbear

8:26 pm on Jun 5, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



......... and amazing 'new users' who appreciate it! ;)

Welcome to Webmasterworld!