➤BanglaTvSeial.Cf আমাদের নতুন সাইট এখানে সকল দরনের নতুন Tv Seial সবার আগে দেওয়া হয় তাই এখনি ভিজিট করুন। ➤ যে কোন ধরনের চাকরির খবর পেতে আমাদের rejobbd.blogspot.com ভিজিট করুন।➤ NewsBangla.websiteযেকোন সময় দেশবিদেশের খবর পেতে আমাদের নিউজ সাইট ব্যবহার করুন।➤BlogBD.ga যে কোন ট্রেনিকাল পোষ্ট পেতে আমাদের ব্লগ সাইট ব্যবহার করুন।

If someone spammers on your WordPress site post it will be automatically deleted. Take a look at this new tune

Assalamu Alaikum At present, almost everyone is falling in front of WordPress. Blogging or ecommerce or any other site ... can be done with this wordpress. So, today the wider rate of WordPress has risen beyond the other CMS. Wordpress has created a site, but there is no such thing as spam commentary? Stay there! There is no need to lift hands. Really spamming is a big problem and troubl. You are posting hard, and from where a foreign visitor comes and comments on online dating, viagra, backlink bot etc., making your backlinks and outranking your site! I would like to make sure to use the Akismet plugin. It is able to withstand 100% spam and it is provided by default with Wordpress. However, it is necessary to activate the API and work goes with its Free API. But the problem is that the spam block in the AKismet plugin is right but they are not automatically deleted, put in Spam Queue.From there you have to manually delete. Although it's a matter of few clicks, it's a matter of few clicks But if the comment number is extra, then get in trouble. Anyway, do not raise anymore, let's start. Step: ~~~ Visit your WordPress site Apparance> Editor> Select the functions.php file from right. And at the end of the last?;> Submit the code before tweeting it. [code] //AUto Spam Comments Removal by MiraZ Mac function in_comment_post_like($string, $array) { foreach($array as $ref) { if(strstr($string, $ref)) { return true; } } return false; } function drop_bad_comments() { if (!empty($_POST[‘comment’])) { $post_comment_content = $_POST[‘comment’]; $lower_case_comment = strtolower($_POST[‘comment’]); // List of banned words in comments. // Comments with these words will be auto-deleted. //Add more if you know how to use array $bad_comment_content = array( ‘viagra’, ‘hydrocodone’, ‘[url=http’, ‘[link=http’, ‘xanax’, ‘tramadol’, ‘lorazepam’, ‘adderall’, ‘dexadrine’, ‘no prescription’, ‘oxycontin’, ‘without a prescription’, ‘sex pics’, ‘family incest’, ‘online casinos’, ‘online dating’, ‘cialis’, ‘amoxicillin’ ); if (in_comment_post_like($lower_case_comment, $bad_comment_content)) { wp_die( __(‘Darn! Your comment contains banned words.’) ); } } } add_action(‘init’, ‘drop_bad_comments’);[/code]Finish the job Now commenting with such a ward itself, whether it was successful or not. If you're a little expert on PHP, you can add wards (which you want to auto delete) in the array. Very easy 'Your word',

Post a Comment

[blogger]

Contact Form

Name

Email *

Message *

Powered by Blogger.
Javascript DisablePlease Enable Javascript To See All Widget