header officialwebhosting header officialwebhosting header officialwebhosting header officialwebhosting header officialwebhosting
button officialwebhosting button officialwebhosting button officialwebhosting button officialwebhosting button officialwebhosting button officialwebhosting button officialwebhosting  


[x] Search@mysite



[x] Menu Utama

[x] Share this website
Bookmark and Share

[x] Facebook & Twitter


Tutorial Online : Membangun Blog : Tips Wordpress : Cara cepat menghapus ribuan comment spam di wordpress
Cara cepat menghapus ribuan comment spam di wordpress
Membangun blog dengan wordpress, software blog sejuta umat karena banyak disuka tapi juga banyak yang jadi korban cracker atau hacker jahat. Wordpress saya kena hack? Jika anda memilih wordpress, siap-siaplah Wordpress anda kena hack....ikuti tips dan trik ini biar gak kena hack.
Post new topic   Reply to topic   Printer Friendly Page     Forum Index : Tips Wordpress
View previous topic :: View next topic  
Author Message
officialwebhosting
Site Admin
Site Admin


Joined: Nov 08, 2006
Posts: 236

PostPosted: Wed May 04, 2011 12:39 pm    Post subject: Cara cepat menghapus ribuan comment spam di wordpress

Walau kita sudah mengeset semua comment yg dimuat di web wordpress harus lewat approval atau persetujuan kita, namun spam comment yang masuk bertubi-tubi ke web kita dan masuk antrean untuk disetujui, ternyata bisa melumpuhkan web anda.

Solusinya: tutup kemungkinan agar user lain bisa memberi comment di artikel anda karena ini adalah lubang keamanan yang paling sering untuk dikerjai hacker.

Lalu bagaimana menghapus ratusan hingga ribuan spam comment?


Cara paling mudah adalah lewat perangkat PhpMyadmin.


Caranya:
1. Backup dulu nama database anda ke komputer lokal anda agar jika ada kesalahan saat eksekusi, anda masih bisa punya yg asli. Caranya lewat cpanel, klik Backup, kemudian klik nama database untuk didownload.
2. Lakukan langkah penghapusan.
Login ke cpanel, klik phpmyadmin, kemudian klik nama database anda yg akan anda hapus spam comment nya.
Jika anda punya banyak database dan tak tahu mana database dari web tersebut, anda harus melihat file wp-config.php dari web itu dan lihat di situ nama databasenya terisi apa, misalnya di situ terlihat nama database usernamecpanel_wrdp15 , maka di phpmyadmin anda harus pilih nama database yg sama di situ.

Kemudian di menu atas-tengah setelah memilih nama database yg benar, anda klik menu atau tab SQL. Setelah itu, di kolom isian perintah, masukkan perintah sql sbb:

Code::
delete from wp_comments where comment_approved = '0'

Kemudian jalankan perintah itu dengan klik tombol GO maka dalam hitungan detik semua spam comment anda sudah terhapus.

Selamat mencoba.



deletespam1.jpg
 Description:
Cara menghapus spam comment di wordpress secara cepat dan massal
 Filename:  deletespam1.jpg
 Filesize:  40.36 KB
 Downloaded:  2147 Time(s)


Last edited by officialwebhosting on Sat Mar 17, 2012 1:12 am; edited 1 time in total
Back to top
View user's profile Visit poster's website
officialwebhosting
Site Admin
Site Admin


Joined: Nov 08, 2006
Posts: 236

PostPosted: Fri May 20, 2011 12:29 pm    Post subject: Re: Cara cepat menghapus ribuan comment spam di wordpress

Setelah anda memastikan semua comment spam terhapus, yg perlu anda lakukan adalah mencegah kembali spam tersebut diinput oleh spammer. Caranya? Mau tidak mau anda harus mematikan fungsi comment demi keamanan blog anda.

Untuk melakukannya, mirip dg cara di atas, hanya saja query atau perintah SQL yang dimasukkan adalah:

Code::
UPDATE wp_posts p SET comment_status = 'closed', ping_status = 'closed' WHERE comment_status = 'open'

Selamat mencoba...
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum Index : Tips Wordpress All times are GMT + 7 Hours
Page 1 of 1


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum




Hosting Gratis Indonesia CPanel PHP MySQL Domain Murah Sedia Shoutcast Server Radio Streaming WHMSonic Shared Hosting Atau VPS Juga Dedicated Server
Officialwebhosting.NET adalah divisi usaha online Laruss Primatama. Laruss Office: Jl Assirot No 46D Sukabumi Selatan, Kebon Jeruk, Jakarta Barat. 11560
HOME Base Officialwebhosting.NET: Jl DR Cipto Mangunkusumo Mahkota Simprug A7/12A Tangerang. 15154.
Email : support@officialwebhosting.net, officialwebhosting@gmail.com. Phone : 021-70580777.
Copyright © OfficialWebHosting DotNet. All Rights Reserved, Powered by Laruss Group

Interactive software released under GNU GPL, Code Credits, Privacy Policy