How To Remove The URL Field From WordPress Comments Form

Best WordPress Hosting

You may have noticed that some WordPress blogs have comment form but not URL field in it. Spammers generally fill your blog with spam comments just to get backlinks. So removing URL field from the comment form helps us to protect blog from these spammers. This must be done if you have auto approval of comments turned on in your blog.

You may have noticed that some WordPress blogs have comment form but not URL field in it. Spammers generally fill your blog with spam comments just to get backlinks. So removing URL field from the comment form helps us to protect blog from these spammers. This must be done if you have auto approval of comments turned on in your blog.    In this post I am writing few easy methods of removing URL field from WordPress comments form  How to Remove URL field from WordPress Comments by editing code  Removing comment field from is an easy task if you know how to edit or modify code. You can use this code and add it in 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; }  How to Remove URL field from WordPress Comments with plugin  If you do not know how to edit code or afraid of doing this, you can try a nice WordPress plugin that will remove URL from comment form automatically. This plugin is disable-hide-comment-url. After installation, it will remove URL option from comment box.  By following above methods, you can remove URL field from comment box and prevent spam bots from your blog.  If you know any other easier method of doing this task, you can share it with us via comments.

In this post I am writing few easy methods of removing URL field from WordPress comments form

How to Remove URL field from WordPress Comments by editing code

Removing comment field from is an easy task if you know how to edit or modify code. You can use this code and add it in functions.php file:

 How to Remove URL field from WordPress Comments with plugin

If you do not know how to edit code or afraid of doing this, you can try a nice WordPress plugin that will remove URL from comment form automatically. This plugin is disable-hide-comment-url. After installation, it will remove URL option from comment box.

By following above methods, you can remove URL field from comment box and prevent spam bots from your blog.

If you know any other easier method of doing this task, you can share it with us via comments.

advertisement

About The Author

    ADD YOUR COMMENT

Subscribe To Our Newsletter

Subscribe To Our Newsletter

Receive fresh web design resources and SEO tips in your email by our weekly newsletter

You have Successfully Subscribed!