WordPress Versiyon Gizleme

WordPress 2,5 versiyonundan beri, wordpress versiyon bilgilerini otomatik olarak yayınlamakta. Bu özellik aslında güvenlik açığını da beraberinde getirmekte. Potansiyel hacker’lardan bloğunuzu korumanın en kolay yolu aşağıdaki kodu aktif temanızdaki function.php dosyasına eklemek olacaktır.

remove_action(’wp_head’, ‘wp_generator’);

function.php dosyasına ekleyeceğiniz bu kod sayesinde wp_generator() function etkisizleşecek ve bloğunuz kaynak kodunda wordpress version bilgisi yazmayacaktır.

Related Posts with Thumbnails
Hoşlandıysanız Kaydedin veya Paylaşın:
  • Print
  • email
  • PDF
  • RSS
  • Facebook
  • Google Bookmarks
  • Live
  • Yahoo! Bookmarks
  • StumbleUpon
  • Digg
  • Twitter
  • del.icio.us
  • Technorati
  • Mixx
  • Sphinn
  • FriendFeed
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>