How To Remove Website URL From WordPress Comment

How To Remove Website URL From WordPress Comment without any plugins. Spam commentary is a big problem for numerous blogs. The biggest reason for spam commentary is the desire to get backlinks using the website URL field in the WordPress comment form.

Because utmost spam is generated by automated bots, you can fluently combat comment spam using free tools and plugins.

The hard part is to discourage spam commentary transferred manually. These irremovable comments are submitted by factual druggies and are frequently out- content, inapplicable, and inapplicable to the discussion.

How To Remove Website URL From WordPress Comment
How To Remove Website URL From WordPress Comment

In this composition, we will show you how to remove the Website URL field from the WordPress comment form. We will also explain that removing the URL field from the comment form will help you discourage spam.

Why do people submit spam commentary?

The short answer to this question is SEO or hunt machine optimization. Let’s take a look at it in detail.

Have you ever entered commentary on your website from druggies like” Stylish WordPress Themes”,” Make Plutocrat Online”, or”MyBlogName”? Why do they use similar keywords rather than their real name?

By dereliction, the WordPress comment form has four fields name, dispatch, website URL, and the comment box.

When displaying commentary, WordPress automatically hyperlinks the name of the commenter to the URL of the website they handed.

This backlink provides an incitement for black chapeau SEO marketers and new bloggers.

How Remove Website URL From WordPress Comment
How to Remove Website URL From WordPress Comment

They believe that this tactic can help them get better rankings for specific keywords in hunt machines.

This fashion doesn’t work for SEO in utmost cases, but it doesn’t stop spam commentary.

That is why we removed the URL field from our WordPress comment form altogether. By doing so, we have significantly reduced the number of spam commentary on our point.

Real druggies will note on your papers whether they get backlinks or not. However, also you really have to question their intentions first, If someone does not want to note on your website because they can not find the backlink.

That being said, let’s take a look at how to fluently remove a website field from a WordPress comment form. We’ll cover two different styles, and you can choose the one that works stylish for you.

Manually Remove Website URL From WordPress Comment

Some users always want to learn how to work manually rather than using plugins. The good news is that you can surely remove the website field from the comment form with the help of law particles.

Remove Website URL WordPress Comment
Remove Website URL WordPress Comment

To get started, you need to have a full backup of your WordPress site. However, it’ll help you restore your website lines, If commodity breaks when you edit theme lines.

Next, you need to copy and paste the following code to your theme’s functions.php file.

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

This law fluently removes the website field from your WordPress comment form. You can view a blog post on your website in a new sequestration tab to get it enforced.

Buy Software Downloading Website Service

We hope this composition has helped you learn how to remove a website URL field from a WordPress comment form.

You may also want to check out our companion on how to add reCAPTCHA to WordPress comments to help spam commentary.

Remove Website URL From WordPress Comment How To Remove Website URL From WordPress Comment


File Name :
Remove Website URL
License :
Freeware
File size :
1 MB
Version :
Latest

Add a Comment

Your email address will not be published. Required fields are marked *