Home » » Cara membuat Breadcrumb yang Terindex Google

Cara membuat Breadcrumb yang Terindex Google

Kali ini saya akan share cara membuat breadcrumb namun kali ini bukan breadcrumb biasa tapi Membuat Breadcrumb Terindex Google.


Cara membuatnya sangat mudah berikut langkah-langkahnya :

1. Login ke Account Blogger Sobat

2. Masuk Template >> Edit HTML >> dan beri centang Expand Template Widget

3. Cari kode ]]></b:skin> atau </style> kemudian letakan kode berikut di atasnya :


.breadcrumbs{
padding:5px 0px;
margin:0;
font-size:12px;
line-height:2em;
border-bottom:5px double #e1e1e1
}

4. Lalu cari kode <b:include data='top' name='status-message'/> biasanya ada dua kode yang sama, masing-masing letakan kode berikut diatasnya :

<b:include data='posts' name='breadcrumb'/>

5. Selanjutnya letakan kode dibawah ini diatas kode <b:includable id='main' var='top'>
<b:includable id='breadcrumb' var='posts'>
<b:if cond='data:blog.homepageUrl != data:blog.url'>
<b:if cond='data:blog.pageType == &quot;static_page&quot;'>
<div class='breadcrumbs'><span><a expr:href='data:blog.homepageUrl' rel='tag'>Home</a></span> &#187; <span><data:blog.pageName/></span></div>
<b:else/>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<!-- breadcrumb for the post page -->
<b:loop values='data:posts' var='post'>
<b:if cond='data:post.labels'>
<div class='breadcrumbs' xmlns:v='http://rdf.data-vocabulary.org/#'>
<span typeof='v:Breadcrumb'><a expr:href='data:blog.homepageUrl' property='v:title' rel='v:url'>Home</a></span>
<b:loop values='data:post.labels' var='label'>
 &#187; <span typeof='v:Breadcrumb'><a expr:href='data:label.url' property='v:title' rel='v:url'><data:label.name/></a></span>
</b:loop>
 &#187; <span><data:post.title/></span>
</div>
<b:else/>
<div class='breadcrumbs'><span><a expr:href='data:blog.homepageUrl' rel='tag'>Home</a></span> &#187; <span>Unlabelled</span> &#187; <span><data:post.title/></span></div>
</b:if>
</b:loop>
<b:else/>
<b:if cond='data:blog.pageType == &quot;archive&quot;'>
<!-- breadcrumb for the label archive page and search pages.. -->
<div class='breadcrumbs'>
<span><a expr:href='data:blog.homepageUrl'>Home</a></span> &#187; <span>Archives for <data:blog.pageName/></span>
</div>
<b:else/>
<b:if cond='data:blog.pageType == &quot;index&quot;'>
<div class='breadcrumbs'>
<b:if cond='data:blog.pageName == &quot;&quot;'>
<span><a expr:href='data:blog.homepageUrl'>Home</a></span> &#187; <span>All posts</span>
<b:else/>
<span><a expr:href='data:blog.homepageUrl'>Home</a></span> &#187; <span>Posts filed under <data:blog.pageName/></span>
</b:if></div></b:if></b:if>
</b:if>
</b:if>
</b:if>
 5. Simpan Template Sobat


Tunggu beberapa jam dan breadcrumb sobatpun akan terindex oleh google ^_^

0 comments:

Post a Comment

 
Support : Your Link | Your Link | Your Link
Copyright © 2013. Portal Editing - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger