Monday 28 January 2013

Pasang Kode Redirect Error 404

Pasang Kode Redirect Error 404 Label: create a free website online, create a free website with google, create a website for free online, create a website google, create a website onlin, create a website online, create a website with google, create website google, create website online, google create website, Tips Blog

Pasang Kode Redirect Error 404 - Berikut ini adalah cara memasang kode untuk redirect halaman error 404 blogspot atau sering di sebut page...

Pasang Kode Redirect Error 404 - Berikut ini adalah cara memasang kode untuk redirect halaman error 404 blogspot atau sering di sebut page not found , Banyak sekali manfaat memasang kode ini untuk kemajuan blog yang kita kelola , di samping untuk menghindari link mati juga untuk memberi penghormatan pada pengunjung bahwa konten yang di cari sudah tidak terbit lagi .

Untuk blogspot versi bari memasang Kode Redirect Error 404 ini sangat mudah , karena cukup masuk halaman seting lalu cari menu Costum Page Not Found , dan isilah kolom tersebut dengan kalimat yang kamu sukai . untuk mengujinya cukup ketik halaman asal saja yang sekiranya tidak ada konten , itu ada cara pertama membuat halaman not found yang sederhana dan mudah .

Adapaun cara pasang kode redirect not found blogspot yang kedua , kode ini bisa di bilang cukup kren , di samping halaman not founf bisa di isi dengan beberapa tulisan atau gambar juga bisa di isi dengan kode kode khusus dan bisa di redirect ke halaman utama blog .
berikut langkahnya :
1. Masuk ke seting blog
2. Cari Costum Page Not Found
3. Isi kolom tersebut dengan code ini :
Sorry, the page you were looking for in this blog does not exist. You will be redirected to homepage shortly.
<script type = "text/javascript">
//Blogger 404 Redirect v1.0 by GreenLava(BloggerSentral.com)
BSPNF_redirect = setTimeout(function() {
location.pathname= "/"
}, 5000); 
</script>
 
4.  Masuk ke setingan themplate , Html 
5. Cari kode berikut ini :
<b:includable id='status-message'>
 <div id='page-header'>
  <b:if cond='data:blog.pageType == "archive"'>
   <div>Archive » <data:blog.pageName/></div>
  </b:if>
  <b:if cond='data:blog.searchLabel'>
   <div>Category » <data:blog.pageName/></div>
  </b:if>
 </div>
</b:includable>
6. Ganti Kode di atas dengan kode ini :
<b:includable id='status-message'>
 <b:if cond='data:blog.pageType == &quot;error_page&quot;'>
  <b:if cond='data:navMessage'>
  <div class='status-msg-wrap'>
    <div class='status-msg-body'>
      <data:navMessage/>
    </div>
    <div class='status-msg-border'>
      <div class='status-msg-bg'>
        <div class='status-msg-hidden'><data:navMessage/></div>
      </div>
    </div>
  </div>
  <div style='clear: both;'/>
  </b:if>
 <b:else/>
  <div id='page-header'>
   <b:if cond='data:blog.pageType == "archive"'>
   <div>Archive » <data:blog.pageName/> </div>
   </b:if>
   <b:if cond='data:blog.searchLabel'>
   <div>Category » <data:blog.pageName/></div>
   </b:if>
  </div>
 </b:if>
</b:includable> 
7. Simpan themplate
Breaking News
Loading...
Kirim Iklan
Press Esc to close
Copyright © 2013 JUAL BLOG SIAP PAKAI All Right Reserved