1. Halo Guest, pastikan Anda selalu menaati peraturan forum sebelum mengirimkan post atau thread baru.

ASKING | Title tag ane knp begini .... !

Discussion in 'Wordpress' started by guree, Jan 19, 2013.

  1. guree

    guree Newbie

    Joined:
    Dec 20, 2012
    Messages:
    30
    Likes Received:
    0
    Location:
    depan laptop
    Assalamu'alaikum dan selmat pagi semuanya, semoga hari2 nya terus dalam kesuksesan

    Saya membangun sebuah blog, tapi bingung mengoptimalkan title tag agar seo friendly.

    Masalahnya: ketika di home page judul blog bukan H1,

    kode titlenya begini:
    Kalau kode ini ane ganti dg tutorial disini , http://www.ads-id.com/forums/showth...Post-title-lebih-SEO-friendly?highlight=title. Hasilnya berantakan dari scor seo 65% jadi 44%

    Waktu di single page sudah benar judul post H1

    odenya begini
    Jadi, bagaimmana menggantikan kode title homepage itu agar di home page title blog bisa H1 dan di single post tetap judul posting H1. Mhn bantuan Kawan semuanya.
     
  2. netrix

    netrix Super Hero

    Joined:
    Jan 5, 2009
    Messages:
    1,494
    Likes Received:
    242
    Location:
    Not Telling
    ane bingung.. yang <title> kan buat title header sementara yang h1 kn buat judul didalam tag body.. klo yang di header ditambahin h1 mana bisa?

    Sent from my GT-P3100 using Tapatalk HD
     
  3. guree

    guree Newbie

    Joined:
    Dec 20, 2012
    Messages:
    30
    Likes Received:
    0
    Location:
    depan laptop
    Berarti judulnya di body mas ya,,, pantesan ... Ane coba dulu
     
  4. airul

    airul Super Hero

    Joined:
    Nov 11, 2011
    Messages:
    2,256
    Likes Received:
    668
    Location:
    Magetan
    nah loh..tag title kok mau digabung sama header....
    mana bisa gan..
     
  5. guree

    guree Newbie

    Joined:
    Dec 20, 2012
    Messages:
    30
    Likes Received:
    0
    Location:
    depan laptop
    Iya,, :) mhn arahannya mastah

    Ane dapat kodenya kek gini di body

    Gimana kita ubah biar judul blog di homepage bisa H1
     
  6. airul

    airul Super Hero

    Joined:
    Nov 11, 2011
    Messages:
    2,256
    Likes Received:
    668
    Location:
    Magetan
    PHP:
    <?php if(is_single() OR is_page()) {
    // On single post pages and static pages we use this code
    ?>
    <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
    <div class="description"><?php bloginfo('description'); ?></div>
    <?php }
    else {
    // On home page and archive style pages we use this code
    ?>
    <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
    <div class="description"><?php bloginfo('description'); ?></div>
    <?php ?>
     
  7. guree

    guree Newbie

    Joined:
    Dec 20, 2012
    Messages:
    30
    Likes Received:
    0
    Location:
    depan laptop
    ane coba dulu mas Airul
     
  8. guree

    guree Newbie

    Joined:
    Dec 20, 2012
    Messages:
    30
    Likes Received:
    0
    Location:
    depan laptop
    Masih blm bisa mas,, walau kode itu saya ubah,, tetap home pagenya kalau kita analysis dengan htetepe:/ /ww w.chkme.com/page-seo-tools, masih blm Tag H1
     
  9. Prof.Eror

    Prof.Eror Banned

    Joined:
    Jan 18, 2013
    Messages:
    45
    Likes Received:
    2
    Location:
    www.RajaVCC.web.id
    Waaa,,,, ngga ngerti sy gan, bawah ane mungkin
     
  10. guree

    guree Newbie

    Joined:
    Dec 20, 2012
    Messages:
    30
    Likes Received:
    0
    Location:
    depan laptop
    iya prof.. kira2 dimana ya,, error nya
     
  11. saidqb

    saidqb Super Hero

    Joined:
    Dec 4, 2012
    Messages:
    1,309
    Likes Received:
    336
    Location:
    jogja-solo
    gunain aja gan plugin ALL in one SEO kalo gak paham paham php :D
     

Share This Page