More threads by MichaelW

Joined
Feb 23, 2015
Messages
48
Reaction score
0
Hi

Here's 2 examples of schema code.

Both are for solicitor/lawyer sites. Would either be better for GMB listings and higher rankings, or do they basically do the same thing and give the address?

HTML:
<ul itemscope itemtype="http://schema.org/Attorney">
<li>
<div class="adr" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"><span class="street-address" itemprop="streetAddress">
3 Westfield Road, Belfast, County Antrim, BT3 5ST</span><br></div>
</li>
<li class="tel" itemprop="telephone">(028) 903 3342</li>
</ul>


HTML:
<div itemscope itemtype="http://schema.org/LocalBusiness" class="schema">
	<span itemprop="name">The Law Firm</span> <span itemprop="description">Solicitors</span><br />
	<div itemprop="location" itemscope itemtype="http://schema.org/Place">
		<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
			<span itemprop="streetAddress">130 Belmost St</span><br />
			<span itemprop="addressLocality">Belfast</span>, <span itemprop="addressRegion">County Antrim</span> <span itemprop="postalCode">BT12 34BA</span>
		</div>
</div>

thanks,
Michael.
 
Hi Michael

It doesn't look like your code made it onto the forum post.

Could you upload a screenshot of the code you're talking about?
 
Thanks Priya the forum stripped all the code out since you can't put code in a post.

But I edited and wrapped HTML tags around it so it would show. All good to go now.
 
Hey Michael -

my goal with Schema is to always be specific as possible, so if you have a sub-group, like Attorney, I'd use that.
 
Thanks Linda for editing that.

So the first snippet has the attorney (even though in Ireland & UK) we use the term solicitor. So are these both much of a much, with the first one slightly better cos it has the sub group schema?

Or does the second snippet have more detailed schema elements like streetAddress and addressLocality, postalCode, which is preferable?

any thoughts
 
I would suggest as standard something like the following:

HTML:
<div itemscope itemtype="http://schema.org/Attorny">
<span itemprop="legalName">The Law Firm</span><div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"><span itemprop="streetAddress">130 Belmost Street</span><span itemprop="addressLocality">Belfast</span>,<span itemprop="addressRegion">Antrim</span><span itemprop="postalCode">BT12 34BA</span></div>
</div>
 
I would also recommend using "SameAs" for social profiles and things like Super Lawyers and Avvo if they have them (if not I would definitely get them listed there).
 

Login / Register

Already a member?   LOG IN
Not a member yet?   REGISTER

LocalU Event

  Promoted Posts

New advertising option: A review of your product or service posted by a Sterling Sky employee. This will also be shared on the Sterling Sky & LSF Twitter accounts, our Facebook group, LinkedIn, and both newsletters. More...
Top Bottom