搜尋引擎結構化數據可以幫助你告訴搜尋引擎你的網站的重要內容是什麼,那搜尋引擎結構化數據要從哪裡開始呢?以下是我自己的做法提供給大家參考!
1.LOGO標記可以在搜尋結果頁面右側出現貴司的品牌LOGO
使用JSON-LD按例
<script type="application/ld+json">
{ “@context" : “http://schema.org",
“@type" : “Organization",
“legalName" : “Elite SEM",
“url" : “http://elitesem.com/",
“contactPoint" : [{
“@type" : “ContactPoint",
“telephone" : “+1-646-350-2789″,
“contactType" : “customer service"
}]
“logo" : “http://elitesem.com/wp-content/uploads/2014/03/Elite_SEM_Logo_2014.png",
“sameAs" : [ “http://www.facebook.com/EliteSEM",
“http://www.twitter.com/elitesem",
“http://plus.google.com/+Elitesem",
“https://www.youtube.com/user/EliteSEMInc",
“http://www.linkedin.com/company/elite-sem",
“https://www.wikidata.org/wiki/Q20736641″]
}
</script>
2.網頁搜尋框標記
網頁搜尋框標計可以出現在搜尋結果頁面網站搜尋框功能.但是你必須在你的網站上要有一個搜尋框的功能喔!
使用JSON-LD按例
<script type="application/ld+json">
{
“@context" : “http://schema.org",
“@type" : “WebSite",
“name" : “Elite SEM",
“url" : “http://elitesem.com/",
“potentialAction" : {
“@type" : “SearchAction",
“target" : “http://elitesem.com/?s={search_term}",
“query-input" : “required name=search_term"
}
}
</script>
3. 麵包屑標記
麵包屑標記可以在你的網站產生豐富的網頁摘要在搜尋結果頁面
使用微資料按例
<ol itemscope itemtype="http://schema.org/BreadcrumbList">
<li itemprop="itemListElement" itemscope
itemtype="http://schema.org/ListItem">
<a itemprop="item" href="https://example.com/">
<span itemprop="name">Home</span></a>
<meta itemprop="position" content="1″ />
</li>
›
<li itemprop="itemListElement" itemscope
itemtype="http://schema.org/ListItem">
<a itemprop="item" href="https://example.com/activewear/">
<span itemprop="name">Activewear</span></a>
<meta itemprop="position" content="2″ />
</li>
›
<li itemprop="itemListElement" itemscope
itemtype="http://schema.org/ListItem">
<a itemprop="item" href="https://example.com/activewear/tops/">
<span itemprop="name">Tops</span></a>
<meta itemprop="position" content="3″ />
</li>
</ol>
4.網站導航架構標記
網站導航架構標記可以幫助提高你的網站結構和導航並且讓搜尋引擎更能理解你的網頁內容的重要性
使用微資料按例
<ul itemscope itemtype="http://www.schema.org/SiteNavigationElement">
<li itemprop="name"><a itemprop="url" href="http://www.travelstore.com/our-advantage">Our Advantage</a></li>
<li itemprop="name"><a itemprop="url" href="http://www.travelstore.com/our-travel-experts">Travel Experts</a></li>
<li itemprop="name"><a itemprop="url" href="http://www.travelstore.com/destinations">Destinations</a></li>
<li itemprop="name"><a itemprop="url" href="http://www.travelstore.com/cruises">Cruises</a></li>
<li itemprop="name"><a itemprop="url" href="http://www.travelstore.com/interests">Interests</a></li>
<li itemprop="name"><a itemprop="url" href="http://www.travelstore.com/explore-your-world/interests/hotels-and-resorts">Hotels</a></li>
<li itemprop="name"><a itemprop="url" href="http://www.travelstore.com/travel-guides">Travel Resources</a></li>
</ul>
5.VIDEO影片架構標記
VIDEO影片架構標記可以提高影片的豐富的結構化並且把你的VIDEO顯示在搜尋引擎的搜尋結果頁面中
使用微資料按例
<div itemscope itemtype="http://schema.org/VideoObject">
<link itemprop="url" href="http://www.ted.com/talks/boaz_almog_levitates_a_superconductor">
<meta itemprop="name" content="The levitating superconductor" />
<meta itemprop="description" content="How can a super-thin 3-inch disk levitate something 70,000 times its own weight? In a riveting demonstration, Boaz Almog shows how a phenomenon known as quantum locking allows a superconductor disk to float over a magnetic rail — completely frictionlessly and with zero energy loss. Experiment: Prof. Guy Deutscher, Mishael Azoulay, Boaz Almog, of the High Tc Superconductivity Group, School of Physics and Astronomy, Tel Aviv University." />
<meta itemprop="uploadDate" content="2015-02-05T08:00:00+08:00″ />
<meta itemprop="duration" content="PT10M25S">
<img itemprop="thumbnailUrl" src="https://tedcdnpi-a.akamaihd.net/r/tedcdnpe-a.akamaihd.net/images/ted/b9693798223a4101be834398af15df5560d3f25c_1600x1200.jpg?quality=95&w=480″ />
</div>