RSS
 

Archive for the ‘SEO’ Category

Adding a Breadcrumbs Navigation on WordPress Blog Without Plugin

23 Feb

When you visit a website or a blog, you frequently see this kind of navigation menu :

This is what a breadcrumbs navigation looks like. This menu shows us where we are during surfing and exploring a website.

There are many benefits to use such navigation menu. This menu is SEO friendly. The search engine robot would easily recognize our blog’s internal linking. To the human visitors, this menu will help them to surf our blog without being worried of getting lost.

So then how to attach di menu in our WordPress blog? There is a simple way to do it. You don’t even need a plugin like Breadcrumb NavXT or Yoast Breadcrumb. I will show you how to add a breadcrumbs navigation in your WordPress blog without using any plugins. Here is the steps :

1. Click Appearance – Editor, and choose Single.php

2. Find this line : <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

3. Put this php script right above the line, then click Update File. Don’t forget to change ‘yourdomain.com’ with your own website address.

<div id=”breadcrumb”>
<a title=”Go to homepage” href=”http://yourdomain.com/”>Home</a>
&raquo; <?php the_category(‘ &raquo; ‘); ?>
&raquo; <a href=”<?php the_permalink() ?>” title=”<?php the_title(); ?>”>
<?php the_title(); ?></a></div>

4. Voila!

Good luck.

 
 

Memasang Navigasi Breadcrumbs di Blog WordPress dengan Mudah

23 Feb

Ketika mengunjungi suatu website atau sebuah blog seperti pada blog saya, Anda pasti sering menemukan menu navigasi yang seperti ini :

Inilah yang disebut menu navigasi breadcrumbs. Menu ini menunjukkan kita berada di bagian mana saat sedang mengunjungi suatu website.

Dengan menggunakan navigasi breadcrumbs seperti ini, banyak sekali keuntungannya. Dari segi SEO, blog kita akan mudah untuk dikenali struktur link internalnya oleh search engine. Bagi pengunjung blog kita, menu ini juga sangat berguna dalam membantu untuk menjelajahi blog dengan mudah tanpa takut tersesat.

Bagaimana cara memasang menu ini di blog WordPress kita? Caranya mudah kok, bahkan tidak membutuhkan plugin. Ada juga yang menggunakan plugin seperti Breadcrumb NavXT atau Yoast Breadcrumb, namun pada artikel ini saya menunjukkan cara memasang breadcrumbs navigation tanpa menggunakan plugin wordpress. Begini langkah-langkahnya :

1. Klik menu Appearance – Editor, dan pilih Single.php

2. Cari baris ini : <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

3. Letakkan skrip php ini tepat di atas baris tersebut, dan tekan Update File. Jangan lupa untuk mengganti tulisan yourdomain.com dengan alamat website Anda.

<div id=”breadcrumb”>
<a title=”Go to homepage” href=”http://yourdomain.com/”>Home</a>
&raquo; <?php the_category(‘ &raquo; ‘); ?>
&raquo; <a href=”<?php the_permalink() ?>” title=”<?php the_title(); ?>”>
<?php the_title(); ?></a></div>

4. Berhasil!

Selamat mencoba ya.