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;

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.

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.

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){
    if(isset($fields['url']))
       unset($fields['url']);
       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”
  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.

4 Comments

  1. Thank you so much for this info data blessing

    Reply
    • You’re most welcome Oluchieze

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

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

      Reply

Submit a Comment

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

Top News Today:

How to Check Mock Jamb Result 2022

This article is for you If you're among the candidates who have participated (sat) in the Mock Jamb Result for the 2022 session. Joint Admissions and Matriculation Board (JAMB) has officially released the results of the Unified Tertiary Matriculation Examination...

Travel & Tourism Tips:

Live and Work in Canada | Apply for Canadian jobs abroad

It isn't new to know that Canada is a land of opportunity, that's the reason individuals and families are migrating. It is weird to even think of finding and applying for a job in Canada from abroad, right? But it's possible. Ever since the pandemic, Canada’s labor...

Most Read Tech Reviews:

Most Trending Opportunities To Explore:

Top 7 Ways To Avoid Job Scams – Job Recruitment Safety Tips

We have heard countless times people complain and wail about having been scammed. The truth is that we have many job scammers roaming around every street these days. And unfortunately, they have learned how to appear decent and unsuspecting. Regardless, these Top 7...

Fashion & Lifestyles:

5 Proven Steps To Achieve Success Faster

To be able to succeed in life, you must work hard to achieve success. It’s very rare to see someone become successful without any labour put in. It would be considered a Miracle then. For anyone aiming for success, you need to climb some tough ladders or cross some...

Entertainment Zone:

Full Guide – How to Apply for the Guinness World Record

Guinness World Records is a global organization that recognizes " set or break a record" achievements across the globe. Of truth, breaking an already existing record or setting a new one is a prestigious accomplishment that showcases your extraordinary skills,...

How to Vote Big Brother Titans – Vote your Favourite Housemate

The Big Brother Titans reality TV show kicked off on January 15th, 2023, with a total of 24 Nigerians and South Africans being present in Big Brother’s house. The show is packaged with lots of exciting activities - captivating the interest of viewers. To some fans, it...

Trending How-To’s Articles:

How To Verify Google AdSense WITHOUT A PIN

– Is your Google AdSense Payment on hold because you haven’t verified your address with Google PIN?
– Have you applied for the PIN 4 times and still haven’t gotten any?
– Is your YouTube or Blog not displaying ads because you haven’t verified your Google Account?
If any of this concerns you, then you are on the right page to restore your Google AdSense + Blog +YouTube Earnings again.

Business Zone:

Zenith Bank Internet Banking Login Page

Zenith Bank Internet Banking Login Page

Banking has become widely adopted around the world, and your bank's banking system is not excluded. There are several digital banking methods offered by Zenith Bank - each method offers seamless services. Talking about the available Zenith Bank digital banking...

Leading 11 Fintech Companies in Nigeria (Mobile Money Apps)

Leading 11 Fintech Companies in Nigeria (Mobile Money Apps)

Arguably to say that the Fintech companies in Nigeria are indeed revolutionising access to finance and banking services, with the consistent strategy of delivering outstanding features (products and services) to individuals and businesses in the country. It almost...

Understanding Student Loan Forgiveness Program

Understanding Student Loan Forgiveness Program

Student loans have been of great opportunities to many and yet a disturbing thing to some as well. Understanding every principle behind the student loans, application processes, and the escape roots (also known as Student Loan Forgiveness Programs) would be a...

Pin It on Pinterest

Share This