Remove website field from WordPress comments

Spread the love

Remove website field from WordPress comments, Why? The website field from WordPress comments doesn’t make any issue until commenters use this field perfectly. I think in current time, this website field on WordPress comments creating SEO problems.

Why do we use this field? Because, if you have a site you can let us know when you are commenting. But commenters are using this feature in a bad way. They are using this field to create backlinks.

Most of the time, these links are spammy. Someone ads a spam link on someone’s site by the WordPress comment section. What will the admin do? I don’t know what does he do.

But the admin will definitely feel anger for the commenters and most of the time those comments are not related to the site niche.

Is the website field good?

On this topic, different bloggers have different points of view. Some bloggers think this is good and some others blogger this is not good for those sites. I don’t know why.

If you focus on the comment section when you are commenting on someone’s blog or website, you will probably see some of are using the website field and some are not.

How to remove website field from WordPress comments
Remove website field from WordPress comments

There will be one reason and that is unrelated comments. Suppose you have written a post about dogs and someone is commented on the cat niche. What will you do?

You will probably think, how can you block them. Isn’t it? Someone is commenting on your site genuinely then that is good. But if this comment happens opposite as per your niche then that is definitely bad.

So, the final word is, if your visitors are using the website field on WordPress for a good purpose then good. If they are opposite then I don’t need to tell you, you already know that.

Read: How to Add Email Subscription to WordPress for free

How to remove website field from WordPress comments

We have discussed the website field on WordPress comments. It’s time to see how to remove the website field from WordPress comments. It’s super easy to do. Just you have to install one plugin.

You can many things with the help of this plugin (Comment Link Remove and Other Comment Tools). We will talk about this topic later, first, let’s how to remove the website field from WordPress comments.

Remove website field from WordPress comments
Remove website field from WordPress comments

Click here and install the plugin. After installing obviously you have to activate this plugin. After activating you will see QC CLR Settings just under the settings section on your WordPress admin panel.

remove website field from WordPress comments
Remove website field from WordPress comments

Click on QC CLR and you will see this type of setting. Here I have marked 3 lines that are perfect for spammy links. But if you are only satisfied with removing the website field then you can only check the first line.

When you have done you can check your site comment section. I will recommend you open your site in the incognito window after finishing your QC CLR Settings. And your results will look like this.

Remove website field from WordPress comments
Remove website field from WordPress comments

On this plugin, also a pro version is available if you are curious then you can check. I will not recommend using the pro feature. Our main purpose is to remove the website field from the comment section.

Not only the comment section you can also stop HTML hyperlinks. Look at the second and third marks that I have done. So, the pro feature is currently don’t require for us.

Remove website field from WordPress comments
Remove website field from WordPress comments

Very fast you will see the comments control section. From here you can delete all comments with just one click. This is a very good feature.

Remove website field from WordPress comment with codes

I don’t recommend this strategy because of coding. It’s not mandatory, everyone will be a coding expert. This is the reason I have discussed on plugin very fast.

Editing coding can harm your site. In this case, if you are a newbie then you will face many problems. You will break your site and for this, we are not recommending you to use coding.

And again, it’s up to you. You are willing to use a coding strategy then you can follow these steps.

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

You have to paste this code into your functions.php file. Let’s see how you can do this. First, hover your mouse on Appearance and then click on Theme Editor.

Remove website field from WordPress comment with codes
Remove website field from WordPress comments

You will redirect to the Theme Editor page. Click on functions.php and paste that code into your PHP file.

Remove website field from WordPress comment
Remove website field from WordPress comments

Note: Paste that code in the last section.

After pasting that code click on the update file and you are set. You can choose a plugin or coding strategy, whatever you want. If you know more strategies to remove the website field then feel free to comment down.


Spread the love

Leave a Comment