Two Ways To Remove Website URL Field from WordPress Comment Form

If not for the abuse of it, why will it become a concern to remove Website URL Field from WordPress Comment form? Well, spammers use it as a medium of posting links. While some newbies believe is a way of getting backlinks.

If you are among those that do not know how to control spam or don’t have the time to moderate each comment then it is wise to remove the website URL field in the comment box. The guidelines listed below take care of anyways spammers may attempt to post links in the comment box.

The WordPress comment box, by default, has four fields: name, email, website URL, and the comment box.

The name becomes a hyperlink (clickable) if the commenter includes the URL in the website field. Also, in the comment box – website addresses dropped automatically becomes links and clickable. See an example image below;

Two Ways To Remove Website URL Field from WordPress Comment Form 1
sample of spam-commenters posting spamming links by different commenters

Let’s be frank, real commenters use real names and do skip the URL field, and most of them do not have websites (even if some do) their main purpose of commenting is to either share their view or give feedback, contribute, or ask questions. So there may concern is to get responses to their comments (when needed).

We have another sample of a commenter filling “No” in the URL field, this simply means he/she doesn’t care about that.

Two Ways To Remove Website URL Field from WordPress Comment Form 2
Sample of real (genuine) commenters.

Why Removing Website field is necessary

  • More comments containing backlinks will seriously cause your posts to have more outbound links and it will cause harm to your SEO efforts.
  • Comment areas is also a place of gathering information (by readers and site owners), so it looks irresponsible and may even render the information on the page useless (not to be trusted) when such spamming links are posted. Because the spamming links (comments) are not related to the information of the page.
  • Some genuine comments think it is necessary to include website address before submitting comments and by so doing they fill in anything to pass the stage, which ends up becoming broken and irelivant links. An example is the last commenter in the above image, filling “No” in the URL files. If not removed the link become “https://no” and will be linked to the commenters Name.

Now, use any of the methods below to remove the Website or URL Field from your WordPress comment form. The methods are free.

Remove Website URL Field from WordPress Comment Form using Plugin

There is a free WordPress plugin that can seamlessly achieve this goal – removing website URL field from comment box, without editing any code. This method is easier than the manual method and recommended for all users.

The Plugin is called “Comment Link Remove and Comment Tools” plugin By QuantumCloud. For detailed instructions, please follow our step by step guide on how to install a WordPress plugin.

How to use the Website URL Field Removal plugin

Upon activation, there will be a new menu item called “QC CLR Settings” in the left sidebar of your WordPress admin panel. Clicking on it will take you to plugin’s settings page.

remove url field plugin setting-image

Check the following FOUR boxes explained (and marked on the image) below;

  • Remove WEBSITE Field from Comment Form: This option disables and removes Website URL Field from WordPress comment form. The field disappears.
  • Remove hyper-link from comment AUTHOR Bio: This option deactivates and disallows any link attaching to the commenters name in the comment form.
  • Disable turning URLs into hyper-links in Comments: This option disables any link in the comment box. The interesting part of it is that it automatically disables the link(s) and converts them to ordinary text.
  • Remove HTML Link Tags in comments: This option disables any active link text in the comment box. This means that whenever the spammers or commenters ads link into text, it won’t be active. In other words, it won’t work.
Two Ways To Remove Website URL Field from WordPress Comment Form 3

Pros of using Website URL field Removal Plugin

  • With no experience, this method is easier and can be adopted by everyone, no extra configuration needed.
  • The main feature required to remove the Website URL field from the WordPress comment form is free.
  • Changing the theme now or later (after the installation of the plugin) won’t change the settings, unlike the manual method mentioned below.

Cons of using Website URL field Removal Plugin

  • Be careful of the plugin’s behaviour on your site. It might break your site especially if the PHP version is not compatible with the Website URL Field removal plugin.
  • The Website URL Field returns whenever the plugin is disabled or/and deleted.

Manually Remove Website URL Field from WordPress Comment Form

Removing the website URL field through the manual method is easy and even more, preferred by those who don’t like many installations of WordPress plugins. Well, using the process doesn’t mean one has to be a code guru to implement it (anyone can get it done by following the step by step with image illustrations laid below).

This method needs the user to edit the theme’s functions.php file (It is also known as “Theme Functions”.), then paste the code below at the bottom of the code page (don’t worry, the images below have shown all the steps).

Code for Manually Remove Website or URL Field from WordPress Comment Form

add_filter('comment_form_default_fields', 'unset_url_field');
function unset_url_field($fields){
       return $fields;

Simply copy the code above.

How to open theme’s functions.php file

  1. Log in to WP Admin
  2. Navigate to “Appearance”
Two Ways To Remove Website URL Field from WordPress Comment Form 4
  1. Select “Theme Editor” and select functions.php (It is also known as “Theme Functions”.)
  2. Scroll down to the bottom of the code page, copy the code above and paste. Then Click on “Update File” to save the change.
Manually Remove Website URL Field from WordPress Comment Form-image
  1. Clear your site cache, then access your page again. You will realize that your action has removed the Website URL field from the WordPress comment form.

Pros of Manual Method

  • You won’t have to install any extra plugins to get this done. And by so doing freeing you from the risk of any hacking or having plugin issue.
  • The process is fast and easy to implement.
  • It doesn’t require any future update. By inserting the piece of code removes the Website URL Field from WordPress Comment Form permanently.

Cons of Manual Method

  • In spite the simplicity of implementing the code to remove website URL field from WordPress comment form, some people might still be afraid to use this method.
  • Can break website if not carefully implemented.
  • Because the code is implemented in the currently (active) theme, therefore the code disappears if new theme is replaced.

What’s your thought on this? Are there other methods or better plugin(s) more preferred?

Let’s here in the comment box below. Also feel free to ask your questions.


  1. Hi, a nice post I found on google thanks for sharing with us

    • Ok, We are happy you love the content we share here.
      Thanks and keep reading, keep sharing.

Leave a Reply

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

Pin It on Pinterest

Share This