Home / Uncategorized / Remove Website URL Field from WordPress Comments

Remove Website URL Field from WordPress Comments

Remove Website URL Field from-wordpress-comment-form1-e139935839431911
Sometimes, it’s better to remove URL field from WordPress comments form to reduce spamming in your blog. Usually spammers use automated bots to generate spam comments. You can block spam comments using Akismet, Captchabotblocker or through other WordPress plugins. What if, after blocking the bots peoples start doing the spamming?. The truth is that some peoples make comments to other blogs to make a backlink or want to drive traffic to their website. So in today’s article we’ll trying to show you how to remove website URL field from WordPress Comments.

Why You Should Remove URL Field From Comments

By default in WordPress to post a comment user must have to enter his/her Name, Email and Website URL in order to submit their comment. After approving the comment from moderator WordPress automatically link the website URL with the name of commentator. Problem started, when people or their bots start using the name as targeted keyword and when WordPress link the website URL with the Name it becomes the back link which is so useful for seo. It is true that all links consider as nofollow but Alexa give them importance.

Remove Website URL Field Through Two Ways

By removing the URL field from WordPress Form you can reduce the spam comments. After removing the URL field from the comment form. You’ll realize that spamming attack on your blog is decreasing day by day. Here are two ways available which you can use to remove URL field from WordPress blog.

  1. Remove URL Website Field through WordPress Plugin
  2. Remove URL Website Field through functions.php File

Remove URL Field through WordPress Disable Comment Author Plugin

First of all download, install and activate Disable / Hide Comment URL plugin. There is no need to setup this plugin is auto configured. After the activation this plugin auto remove the URL (website) option from WordPress comment field.

Remove URL Field through Theme’s Functions.php File

You can also remove the URl field through manual work. Simply login to WordPress admin area. Navigate to Appearance > Editor Tab. Now in right side search and open your current theme’s functions.php file And add the below code. Remember don’t add a code between any function and you should make a backup before editing any file.

add_filter(‘comment_form_default_fields’, ‘unset_url_field’);
function unset_url_field($fields){
if(isset($fields[‘url’]))
unset($fields[‘url’]);
return $fields;
}

We hope this article helped you to remove website URL field from WordPress comment form. If you still have any issue please let us know by commenting below.

Comments

comments

About tahir

Muhammad Tahir lives in Lahore, Pakistan. Loves to read and write articles about tech and web resources online.

Check Also

Caref GPS Phone Watch For Kids – Best GPS Tracker

Caref GPS Phone Watch helps parents to find out there kids from being lost. Small ...

Android or iOS Infographic Tell about Users Life Style

This Infographic Originally Posted on http://10bestresults.com    Comments comments

Top Ten Most Dangerous Lords in Kingdom 6 : Clash of Kings

Clash of Kings is the best and real time strategy game where powerful lords battle with ...

Telenor 3G Weekly Daytime Offer : 7 GB Data

Telenor 3G Weekly Daytime Offer : Pakistan’s one of the best network telenor is offering ...

Zong 7 Rupay Main 7 GB 3G Internet Offer

Zong 777 Offer: Zong 7 Rupay Main 7 GB Zong brings exciting offer for their ...