Membuat Web Atau Blog Lebih SEO Friendly Dan Banyak Pengunjung

Membuat Web Atau Blog Lebih SEO Friendly Dan Banyak Pengunjung

Membuat Web Atau Blog Lebih SEO Friendly Dan Banyak Pengunjung - Masih melanjutkan postingan saya sebelumnya seputar template SEO friendly, kali ini saya ingin sedikit berbagi tutorial tentang bagaimana cara memodifikasi template blogger menjadi lebih SEO friendly.
Tutorial seperti ini sebenernya sudah cukup basi. Ketika saya masih baru mengenal dunia blogger tutorial seperti ini sudah banyak yang membahasnya. Tapi tentu saja apa yang akan saya bagikan disini adalah sesuai dengan pengalaman dan hasil experimen sendiri, jadi mungkin akan ada perbedaan dengan tutorial-tutorial yang pernah ada sebelumnya.
Tutorial modifikasi template kali ini saya menggunakan template bawaan blogger bernama Simple sebagai bahan contohnya. Template yang sobat pakai mungkin berbeda jadi mungkin akan ada beberapa kode yang berbeda dengan yang ada pada tutorial ini.
1. Modifikasi Title SEO Friendly
Seperti yang sudah bahas pada postingan sebelumnya, hal pertama yang paling penting pada sebuah template adalah Title tag. Untuk memodifikasi Title tag pada template blogger agar lebih SEO friendly adalah seperti ini:

Cari kode berikut ini di dalam template sobat:
<title><data:blog.pageTitle/></title>

Setelah itu hapus dan ganti dengan kode title tag SEO friendly ala Mas Sugeng di bawah ini:
<!-- SEO Title Tag -->
<b:if cond='data:blog.url == data:blog.homepageUrl'><title><data:blog.title/></title></b:if>
<b:if cond='data:blog.pageType == &quot;item&quot;'><title><data:blog.pageName/> | <data:blog.title/></title></b:if>
<b:if cond='data:blog.pageType == &quot;archive&quot;'><title>Archive for <data:blog.pageName/></title></b:if>
<b:if cond='data:blog.pageType == &quot;index&quot;'><b:if cond='data:blog.searchLabel'><title><data:blog.title/> - <data:blog.pageName/></title></b:if></b:if>
<b:if cond='data:blog.pageType == &quot;static_page&quot;'><title><data:blog.pageName/></title></b:if> <b:if cond='data:blog.pageType == &quot;error_page&quot;'><title>Page Not Found</title></b:if>
<b:if cond='data:blog.pageType == &quot;index&quot;'><b:if cond='data:blog.url != data:blog.homepageUrl'><title><data:blog.pageTitle/> - All Post</title></b:if></b:if>

Note : jika sobat menggunakan template yang bukan dari blogger, maka biasanya struktur title tag di template sobat sudah dimodifikasi, jadi lebih baik untuk dibiarkan saja.
2. Modifikasi Meta Tag SEO Friendly
Langsung saja untuk memodifikasi meta tag agar lebih SEO friendly, silakan sobat copy/salin kode berikut ini:

<!-- SEO Meta Tag -->
<b:if cond='data:blog.homepageUrl == data:blog.url'><meta expr:content='data:blog.title' name='keywords'/></b:if>
<b:if cond='data:blog.pageType == &quot;item&quot;'><meta expr:content='data:blog.pageName' name='keywords'/></b:if>
<b:if cond='data:blog.pageType == &quot;index&quot;'><b:if cond='data:blog.searchLabel'><meta content='noindex,nofollow' name='robots'/></b:if></b:if>
<b:if cond='data:blog.pageType == &quot;archive&quot;'><meta content='noindex,nofollow' name='robots'/></b:if>
<b:if cond='data:blog.isMobile'><meta content='noindex,nofollow' name='robots'/></b:if>
Setelah itu paste kode tersebut di bawah kode <head> di dalam template sobat.
3. Tag Heading Dinamis
Selanjutnya yang perlu sobat lakukan adalah memodifikasi Tah Heading agar dinamis. 
Cari kode ini di dalam template sobat:

<b:widget id='Header1' locked='true' title='Simple SEO (Header)' type='Header'>
<b:includable id='main'>
<b:if cond='data:useImage'>
<b:if cond='data:imagePlacement == &quot;BEHIND&quot;'>
<!-- Show image as background to text. You can't really calculate the width
clientWidth, offsetWidth or scrollWidth, so we don't force a minimum
reliably in JS because margins are not taken into account by any of width if the user is using shrink to fit.
<b:if cond='data:mobile'>
This results in a margin-width's worth of pixels being cropped. If the user is not using shrink to fit then we expand the header. --> <div id='header-inner'>
</h1>
<div class='titlewrapper' style='background: transparent'> <h1 class='title' style='background: transparent; border-width: 0px'> <b:include name='title'/> </div>
<div expr:style='&quot;background-image: url(&quot;&quot; + data:sourceUrl + &quot;&quot;); &quot; + &quot;background-position: &quot; + data:backgroundPositionStyleStr + &quot;; &quot; + data:widthStyleStr + &quot;min-height: &quot; + data:height + &quot;_height: &quot; + data:height + &quot;background-repeat: no-repeat; &quot;' id='header-inner'>
<b:include name='description'/> </div> <b:else/> <div class='titlewrapper' style='background: transparent'> <h1 class='title' style='background: transparent; border-width: 0px'>
<a expr:href='data:blog.homepageUrl' style='display: block'>
<b:include name='title'/> </h1> </div> <b:include name='description'/> </div> </b:if> <b:else/> <!--Show the image only--> <div id='header-inner'>
<b:if cond='data:imagePlacement == &quot;BEFORE_DESCRIPTION&quot;'>
<img expr:alt='data:title' expr:height='data:height' expr:id='data:widget.instanceId + &quot;_headerimg&quot;' expr:src='data:sourceUrl' expr:width='data:width' style='display: block'/> </a> <!--Show the description--> <b:include name='description'/> </b:if> </div> </b:if> <b:else/> <!--No header image --> <div id='header-inner'> <div class='titlewrapper'>
<data:title/>
<h1 class='title'> <b:include name='title'/> </h1> </div> <b:include name='description'/> </div> </b:if> </b:includable> <b:includable id='description'> <div class='descriptionwrapper'> <p class='description'><span><data:description/></span></p> </div> </b:includable> <b:includable id='title'> <b:if cond='data:blog.url == data:blog.homepageUrl'> <b:else/>
</b:widget>
<a expr:href='data:blog.homepageUrl'><data:title/></a> </b:if>
</b:includable>
Kode yang panjang banget tersebut adalah kode untuk bagian header sob, tempat menampilakan judul dan juga deskripsi. Sebelum sobat mencari kode tersebut silakn sobat perhatikan kode yang saya tandai merah di atas, kode tersebut akan berbeda-beda sesuai dengan judul blog sobat.
Jika sobat sudah menemukan kode tersebut, silakan hapus semuanya dan ganti dengan yg sudah saya modifikasi di bawah ini:
<b:widget id='Header1' locked='true' title='Simple SEO (Header)' type='Header'>
<b:includable id='main'>
<b:if cond='data:useImage'>
<b:if cond='data:imagePlacement == &quot;BEHIND&quot;'>
<!-- Show image as background to text. You can't really calculate the width
clientWidth, offsetWidth or scrollWidth, so we don't force a minimum
reliably in JS because margins are not taken into account by any of width if the user is using shrink to fit.
<b:if cond='data:mobile'>
This results in a margin-width's worth of pixels being cropped. If the user is not using shrink to fit then we expand the header. --> <div id='header-inner'>
</h1>
<div class='titlewrapper' style='background: transparent'> <h1 class='title' style='background: transparent; border-width: 0px'> <b:include name='title'/> </div>
<div expr:style='&quot;background-image: url(&quot;&quot; + data:sourceUrl + &quot;&quot;); &quot; + &quot;background-position: &quot; + data:backgroundPositionStyleStr + &quot;; &quot; + data:widthStyleStr + &quot;min-height: &quot; + data:height + &quot;_height: &quot; + data:height + &quot;background-repeat: no-repeat; &quot;' id='header-inner'>
<b:include name='description'/> </div> <b:else/> <div class='titlewrapper' style='background: transparent'> <h1 class='title' style='background: transparent; border-width: 0px'>
<b:if cond='data:blog.pageType != &quot;item&quot;'>
<b:include name='title'/> </h1> </div> <b:include name='description'/> </div> </b:if> <b:else/> <!--Show the image only--> <div id='header-inner'>
<a expr:href='data:blog.homepageUrl' style='display: block'>
<b:if cond='data:blog.pageType != &quot;static_page&quot;'> <h1 style='text-indent:-9999px;margin:0 0 0 0;padding:0 0 0 0;height:0px;'><b:include name='title'/></h1> </b:if> </b:if>
<b:if cond='data:imagePlacement == &quot;BEFORE_DESCRIPTION&quot;'>
<img expr:alt='data:title' expr:height='data:height' expr:id='data:widget.instanceId + &quot;_headerimg&quot;' expr:src='data:sourceUrl' expr:width='data:width' style='display: block'/> </a> <!--Show the description--> <b:include name='description'/> <b:if cond='data:blog.pageType != &quot;item&quot;'>
<b:if cond='data:blog.pageType != &quot;item&quot;'>
<b:if cond='data:blog.pageType != &quot;static_page&quot;'> <h1 style='text-indent:-9999px;margin:0 0 0 0;padding:0 0 0 0;height:0px;'><b:include name='title'/></h1> </b:if> </b:if> </b:if> </div> </b:if> <b:else/> <!--No header image --> <div id='header-inner'> <div class='titlewrapper'>
<div class='descriptionwrapper'>
<b:if cond='data:blog.pageType == &quot;static_page&quot;'> <p class='title'><b:include name='title'/></p> <b:else/> <h1 class='title'><b:include name='title'/></h1> </b:if> <b:else/> <p class='title'><b:include name='title'/></p> </b:if> <b:include name='description'/> </div> </div> </b:if> </b:includable> <b:includable id='description'>
</b:widget>
<p class='description'><span><data:description/></span></p> </div> </b:includable> <b:includable id='title'> <b:if cond='data:blog.url == data:blog.homepageUrl'> <data:title/> <b:else/> <a expr:href='data:blog.homepageUrl'><data:title/></a> </b:if>
</b:includable>
Masih belum selesai, langkah selanjutnya adalah mengedit pada bagian judul postingan. Caranya cari kode di bawah ini di dalam template sobat:
<b:if cond='data:post.title'>
<h3 class='post-title entry-title' itemprop='name'>
<b:if cond='data:post.link'>
<a expr:href='data:post.link'><data:post.title/></a>
<b:else/> <b:if cond='data:post.url'>
<a expr:href='data:post.url'><data:post.title/></a>
<b:if cond='data:blog.url != data:post.url'> <b:else/> <data:post.title/>
</b:if>
</b:if> <b:else/> <data:post.title/> </b:if> </b:if>
</h3>
Hapus semua kode tersebut dan ganti dengan yang ini:
<b:if cond='data:post.title'>
<b:if cond='data:blog.pageType != &quot;item&quot;'>
<b:if cond='data:blog.pageType == &quot;static_page&quot;'>
<h1 class='post-title entry-title' itemprop='name'>
<a expr:href='data:post.link'><data:post.title/></a>
<b:if cond='data:post.link'> <b:else/>
<a expr:href='data:post.url'><data:post.title/></a>
<b:if cond='data:post.url'> <b:if cond='data:blog.url != data:post.url'>
<b:else/>
<b:else/> <data:post.title/> </b:if> <data:post.title/>
<h2 class='post-title entry-title' itemprop='name'>
</b:if> </b:if> </h1> <b:else/> <b:if cond='data:post.link'>
<b:if cond='data:blog.url != data:post.url'>
<a expr:href='data:post.link'><data:post.title/></a> <b:else/> <b:if cond='data:post.url'>
<b:else/>
<a expr:href='data:post.url'><data:post.title/></a> <b:else/> <data:post.title/> </b:if> <data:post.title/>
<a expr:href='data:post.link'><data:post.title/></a>
</b:if> </b:if> </h2> </b:if> <b:else/> <h1 class='post-title entry-title' itemprop='name'> <b:if cond='data:post.link'> <b:else/>
<data:post.title/>
<b:if cond='data:post.url'> <b:if cond='data:blog.url != data:post.url'> <a expr:href='data:post.url'><data:post.title/></a> <b:else/> </b:if> <b:else/>
</b:if>
<data:post.title/> </b:if> </b:if> </h1>
</b:if>
Apakah sudah selesai ???? belum!!!
Sebenernya sampai langkah ini sudah cukup untuk membuat struktur tag heading di blog sobat menjadi dinamis, tapi mungkin akan ada keanehan yang akan sobat lihat di blog sobat, yaitu judul blog menjadi terlihat kecil. Solusinya silakan sobat cari kode ini:
.Header h1 {
font: $(header.font);
color: $(header.text.color);
text-shadow: $(header.shadow.offset.left) $(header.shadow.offset.top) $(header.shadow.spread) rgba(0, 0, 0, .2);
} .Header h1 a { color: $(header.text.color);
}
Hapus dan ganti dengan ini:
.Header h1.title,.Header p.title {
font: $(header.font);
text-shadow: $(header.shadow.offset.left) $(header.shadow.offset.top) $(header.shadow.spread) rgba(0, 0, 0, .2);
color: $(header.text.color); }
color: $(header.text.color);
.Header h1.title a,.Header p.title a {
}

Saya yakin sobat nggak akan menemukan kode tersebut jika tidak menggunakan template Simple dari blogger, jadi saya hanya bisa mengucapkan selamat berpusing ria.
4. Memasang breadcrumbCari kode di bawah ini:

<b:includable id='main' var='top'>

Hapus kode tersebut dan ganti dengan yang di bawah ini:
<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='nofollow'>Home</a></span> &#187; <span><data:blog.pageName/></span>
</div> <b:else/> <b:if cond='data:blog.pageType == &quot;item&quot;'> <b:loop values='data:posts' var='post'>
<div class='breadcrumbs'><span itemscope='' itemtype='http://data-vocabulary.org/Breadcrumb'><a expr:href='data:blog.homepageUrl' itemprop='url'><span itemprop='title'>Home</span></a></span> &#187; <b:loop values='data:post.labels' var='label'><span itemscope='' itemtype='http://data-vocabulary.org/Breadcrumb'><a expr:href='data:label.url + &quot;?&amp;max-results=8&quot;' itemprop='url'><span itemprop='title'><data:label.name/></span></a></span><b:if cond='data:label.isLast != &quot;true&quot;'> &#187; </b:if> </b:loop> &#187; <span><data:post.title/></span>
<b:if cond='data:post.labels'> </div> <b:else/>
<div class='breadcrumbs'><span><a expr:href='data:blog.homepageUrl' rel='nofollow'>Home</a></span> &#187; <span>Uncategories</span> &#187; <span><data:post.title/></span></div>
</b:if> </b:loop> <b:else/> <b:if cond='data:blog.pageType == &quot;archive&quot;'>
<div class='breadcrumbs'><span><a expr:href='data:blog.homepageUrl' rel='nofollow'>Home</a></span> &#187; <span><data:blog.pageName/></span>
<div class='breadcrumbs'> <span><a expr:href='data:blog.homepageUrl' rel='nofollow'>Home</a></span> &#187; <span>Archive for <data:blog.pageName/></span> </div> <b:else/> <b:if cond='data:blog.searchQuery'> </div> <b:else/>
<span><a expr:href='data:blog.homepageUrl' rel='nofollow'>Home</a></span> &#187; <span><data:blog.pageName/></span>
<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' rel='nofollow'>Home</a></span> &#187; <span>All post</span> <b:else/> </b:if> </div> </b:if>
<b:include data='posts' name='breadcrumb'/>
</b:if> </b:if> </b:if> </b:if> </b:if> </b:includable>
<b:includable id='main' var='top'>
Setelah itu tinggal sobat tambahin sedikit CSS agar tampilannya nggak terlalu polos. Copy/salin kode CSS di bawah ini:
.breadcrumbs {
font-size: 11px;
color: #666;
padding: 10px 0px;
margin: 10px 0px 20px;
}
border-bottom: 1px solid #ddd;

Dan taruh di atas kode:
]]></b:skin>

Huft..!
Saya rasa semua yang di atas sudah cukup untuk membuat template blog sobat menjadi lebih ganteng dari sebelumnya. Saya tahu bagi sobat yang nggak terbiasa berurusuan dengan kode pasti tutorial di atas hanya akan membuat puyeng. Jadi solusinya cukup download saja template yang sudah jadi.
Simple SEO template modifikasi Mas Sugeng. Download Klik DisiniDemo Klik Disini.
Silakan bisa sobat download template Simple yang sudah saya modifikasi melalui link di atas. Template ini sudah saya tambahkan auto readmore agar terlihat lebih rapih. ( Ilmu dari sugeng.id yang sudah saya terapkan sendiri dan merasakan hasilnya )

Comments

Popular posts from this blog

Hp Baru Dari Penghasilan Pertama Adsoptimal.com

Web Fundamentals and Web Starter Kit: Resources for modern web development

Introducing the new policy FAQs, now available in the AdSense Help Center