Do you want to Remove URL Field from Comments in WordPress? This is much wanted to get rid of spam, nonetheless, you may get a lot of spam comments that are harmful to your site. Removing the website URL field is of crucial importance if you want to protect your site from getting spam links.
Since 2003, spamming in links, texts, messages, or keywords has been on the increase. As such spammers leverage this process to get backlinks by placing a site URL or certain link in the field provided therein. If you do not remove the website URL field from the comment form on your WordPress, there is a possibility that your site may get lots of spam degrading to your site’s health.
Removing the URL field from the Website comment form is a must for moderating comments.
The current piece of the article tells you how to remove URL field from comments in your WordPress.
Why do You need to Remove URL Field from Comments in WordPress?
Readers may ask you, “Why it is important to remove URL field from comments on your site?” You should remove comment links or site URL field from your site’s comment form to prevent spam or black hat SEO used by spammers.
There are many Internet users who use spambots, fake accounts, and other unsolicited ways to take advantage of you. They incur such anti-webmaster rules to manipulate your site on their personal ends.
Once the website URL field removed from the comment form, spammers can’t place the site or link URL therein. The comment section on your site looks like this when the link URL field is removed.
Remove URL Field from Comment with WordPress Plugin
If you want to remove the website field from your site’s comment form, then the easiest way you can do that is by installing and activating a comment URL remover plugin. Just go to the WordPress plugin directory>>search for comment link remover plugin>>install>>activate.
There are many ways to remove URL field from comment form on your WordPress but of these, the easiest one is by plugins.
Go to your wp-admin, locate plugins, click Add plugin, and you will see the plugin directory. The directory may display some plugins by default but you have to search for the comment link remove plugin.
So, enter the keyword Comment link remove, or comment URL remove, and hit the search button. It will show you this Comment Link Remove plugin.
Install the Comment Link Remover plugin directly from within your WordPress directory.
Visit ‘Plugins > Add New’
Search ‘URL Field Remover From Comment Box’
Check the plugin is from ‘Bimal Raj Paudel’
Install and Activate the plugin.
Once the plugin installed and activated, it will start working. On the other hand, you can download, install and activate it separately from the official WordPress plugin directory.
In this case, you can set up this plugin in the following way:
Download
Plugin from wp-admin
Add (plugin)
Browse
Upload
Install
Activate
Install this comment URL remover plugin using one of the two ways. Adding it from within your site’s WP-Admin>>Plugin>>Add, is faster, and easier.
So far you’ve installed and activated the plugin to remove URL field from comments on your site.
Now, check the boxes you want to use for comment settings on your site. It has multiple boxes to let you modify one or more functions for comment moderation to combat spamming harmful to your website.
Remove Website Field from Comment Form Check Box
Remove Website Field from Comment Form lets you remove URL field from the form. To use this feature, just check the box, scroll down and click Save Changes to store your settings.
Remove hyperlink from Comment Author Bio Check Box
The Remove hyperlink comment author bio lets you remove the author bio hyperlink from your comment form on your site. To activate this specific feature on your site, check the box, scroll down and save your settings.
Now, you have set up the plugin to remove URL field from comments on your site. Want to look at a preview. Click on the Preview option on your editing dashboard and see how it appears. Also, you can log out and see how the comment appears.
If everything is right, the comment form looks like this.
Using one of the comment link removing plugins is the best way to remove URL field from comments. It protects your site from unwanted links in the comments.
How to Remove Website URL Field from Comment Form Using Codes?
Also, you can add certain codes on your site’s Functions.php file to disable or remove URL field from comments on your site. However, keep in mind that using this feature is recommended only for advanced users who have coding experience. Adding incorrect codes on your themes’ files may conflict with your existing site, break certain files, or may crash your entire site.
Don’t forget to back up your site and store it on your remote backup server or in your local storage if you prefer adding codes to using plugin to remove URL field from comments.
add_filter('comment_form_default_fields', 'unset_url_field');
function unset_url_field($fields){
if(isset($fields['url']))
unset($fields['url']);
return $fields;
}
Note that this code snippet creates a function called unset_url_field() that unsets the URL field from your comment form.
Also, note that it uses the hook ‘add_filter()’ that passes the argument to WordPress default function ‘comment_form_default_fields’containing the fields of the comment form.
You can add codes to your site in multiple ways. If don’t prefer adding codes to your site’s functions.php manually, you can use code snippets plugins. Such plugins let you add certain codes to your site in the form of code snippets.
To minimize and discourage spam and unwanted comment with texts, messages, and links, I recommend using the website URL remover plugin. It lets you remove URL field from comments on your site.
Safiqul Islam is a full-time blogger, writes on WordPress, web hosting, domain, guides, SEO and tutorials. I'm passionate to teach my blogging expertise, startup guides and lessons to the next generation of online undertakers so as to grow their brand, business and influence.
How to Remove URL Field from Comments in WordPress?
Do you want to Remove URL Field from Comments in WordPress? This is much wanted to get rid of spam, nonetheless, you may get a lot of spam comments that are harmful to your site. Removing the website URL field is of crucial importance if you want to protect your site from getting spam links.
Since 2003, spamming in links, texts, messages, or keywords has been on the increase. As such spammers leverage this process to get backlinks by placing a site URL or certain link in the field provided therein. If you do not remove the website URL field from the comment form on your WordPress, there is a possibility that your site may get lots of spam degrading to your site’s health.
Removing the URL field from the Website comment form is a must for moderating comments.
The current piece of the article tells you how to remove URL field from comments in your WordPress.
Why do You need to Remove URL Field from Comments in WordPress?
Readers may ask you, “Why it is important to remove URL field from comments on your site?” You should remove comment links or site URL field from your site’s comment form to prevent spam or black hat SEO used by spammers.
There are many Internet users who use spambots, fake accounts, and other unsolicited ways to take advantage of you. They incur such anti-webmaster rules to manipulate your site on their personal ends.
Once the website URL field removed from the comment form, spammers can’t place the site or link URL therein. The comment section on your site looks like this when the link URL field is removed.
You need to remove URL field from comments to:
Also, read:
Remove URL Field from Comment with WordPress Plugin
If you want to remove the website field from your site’s comment form, then the easiest way you can do that is by installing and activating a comment URL remover plugin. Just go to the WordPress plugin directory>>search for comment link remover plugin>>install>>activate.
There are many ways to remove URL field from comment form on your WordPress but of these, the easiest one is by plugins.
Go to your wp-admin, locate plugins, click Add plugin, and you will see the plugin directory. The directory may display some plugins by default but you have to search for the comment link remove plugin.
So, enter the keyword Comment link remove, or comment URL remove, and hit the search button. It will show you this Comment Link Remove plugin.
Install the Comment Link Remover plugin directly from within your WordPress directory.
Once the plugin installed and activated, it will start working. On the other hand, you can download, install and activate it separately from the official WordPress plugin directory.
In this case, you can set up this plugin in the following way:
Install this comment URL remover plugin using one of the two ways. Adding it from within your site’s WP-Admin>>Plugin>>Add, is faster, and easier.
So far you’ve installed and activated the plugin to remove URL field from comments on your site.
Now, check the boxes you want to use for comment settings on your site. It has multiple boxes to let you modify one or more functions for comment moderation to combat spamming harmful to your website.
Remove Website Field from Comment Form Check Box
Remove Website Field from Comment Form lets you remove URL field from the form. To use this feature, just check the box, scroll down and click Save Changes to store your settings.
Remove hyperlink from Comment Author Bio Check Box
The Remove hyperlink comment author bio lets you remove the author bio hyperlink from your comment form on your site. To activate this specific feature on your site, check the box, scroll down and save your settings.
Now, you have set up the plugin to remove URL field from comments on your site. Want to look at a preview. Click on the Preview option on your editing dashboard and see how it appears. Also, you can log out and see how the comment appears.
If everything is right, the comment form looks like this.
Using one of the comment link removing plugins is the best way to remove URL field from comments. It protects your site from unwanted links in the comments.
How to Remove Website URL Field from Comment Form Using Codes?
Also, you can add certain codes on your site’s Functions.php file to disable or remove URL field from comments on your site. However, keep in mind that using this feature is recommended only for advanced users who have coding experience. Adding incorrect codes on your themes’ files may conflict with your existing site, break certain files, or may crash your entire site.
Don’t forget to back up your site and store it on your remote backup server or in your local storage if you prefer adding codes to using plugin to remove URL field from comments.
Note that this code snippet creates a function called unset_url_field() that unsets the URL field from your comment form.
Also, note that it uses the hook ‘add_filter()’ that passes the argument to WordPress default function ‘comment_form_default_fields’containing the fields of the comment form.
You can add codes to your site in multiple ways. If don’t prefer adding codes to your site’s functions.php manually, you can use code snippets plugins. Such plugins let you add certain codes to your site in the form of code snippets.
To minimize and discourage spam and unwanted comment with texts, messages, and links, I recommend using the website URL remover plugin. It lets you remove URL field from comments on your site.
Related Posts
What Is OTP? 7 Facts on It
What Is An SSL Certificate? Need,Work and Kind
DNSSEC: What Is It and How to Enable It?
About The Author
Safiqul Islam
Safiqul Islam is a full-time blogger, writes on WordPress, web hosting, domain, guides, SEO and tutorials. I'm passionate to teach my blogging expertise, startup guides and lessons to the next generation of online undertakers so as to grow their brand, business and influence.