How to Remove Comment Author URL in WordPress

WordPress comes with a built-in comment system that allows for community interaction around your content. Anyone with a valid Name and Email can leave a comment without verifying their identity.

By default WordPress, comment form has three fields (name, email, and website or URL). When displaying the comments, WordPress automatically hyperlinks the name of the commenter with the website URL they provided. This provides a huge incentive for blackhat SEO guys or newbie bloggers who don’t know any better way to SPAM your site.

This is why removing the URL field from WordPress comment form is always beneficial. Doing this greatly reduce the number of spam comments.

What about existing comment author URLs?

The answer is to remove all unwanted links, including no follow links.

So,

How to remove all existing comment author URLs?

No doubt, there are plugins available to perform this task. But, I will recommend doing it manually via phpMyAdmin. It’s easy and non-hectic.

  • Go to your phpMyAdmin or any SQL administration tool that allow you to run queries to your database.
  • Select your WordPress installation’s database.
  • Go to “SQL” tab.
  • Enter any of the following queries.
  • If your table prefix is not “wp_”, change it accordingly.

Deleting all existing comment author URLs in WordPress
Deleting all existing comment author URLs in WordPress

To delete all comment URLs :

UPDATE wp_comments SET comment_author_url = '';

In above query, I have set the URL value to empty. So no worries about losing your comment.

To delete ALL comment URLs EXCEPT a certain link:

UPDATE wp_comments SET comment_author_url = '' WHERE NOT comment_author_url = 'https://www.infophilic.com/';

This query will avoid deleting URL of those comments made by yourself.

Once you have done the activation, this plugin will remove comment author URL in your WordPress theme’s comments template.

Conclusion:

I hope this guide helps you best in reducing spam on your site. You might like to read my another guide on ways to stop spam comments on WordPress Blog.

How do you deal with manually submitted spam comments on your site? What are your thoughts on removing the website URL field?

ALSO READ

Subscribe to our newsletter

To be updated with all the latest news, offers and special announcements.

Comment Policy: Your words are your own, so be nice and helpful if you can. Please, only use your real name and limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here

GET STARTED

Start WordPress Blog: Ultimate Guide For Beginners

Here is our step by step guide for beginners to start a WordPress blog.

Top 6 Best WordPress Theme Frameworks

There are many websites themes which are created by using a framework. Likewise, WordPress Theme frameworks also becoming so popular. The framework allows you...

The Most Essential WordPress Plugins

Here, I have listed some excellent plugins which will surely add more features and new functionality to your WordPress blog.

Tips to Speed Up WordPress Performance

Here, I am sharing some tips to speed up WordPress performance. All you need to modify .htaccess file on your server and add some plugins.

The Ultimate Guide to Harden WordPress Security

Learn how to improve WordPress security. Here are some basic security concepts that will help you to harden WordPress security.

How to Setup CloudFlare Free SSL for WordPress Blog

Google has announced that they will count HTTPS as a ranking factor which means if you using HTTPS you will get a higher position...

DEALS

Kinsta Hosting

Highly optimized servers for lightning-fast sites. High-security environment hack-fix guarantee. WordPress support experts at your fingertips. GRAB THIS DEAL

POPULAR NOW

How to Remove jQuery Migrate in WordPress?

jQuery Migrate greatly simplifies the process of moving older jQuery code to a higher jQuery version by identifying deprecated features. It then restores deprecated...

Get almost 100% PageSpeed on Newspaper theme

The newspaper theme is the most popular premium theme for a self-hosted WordPress blog. The theme is developed by team tagDiv. You...

How to Delete Multiple Images in WordPress Media Gallery

Hey, guys today one of my friends asked me a question, How can I delete Multiple Images in WordPress? I replied, "It's very simple." Yeah,...

Xperia Home Launcher: Install on any Android Device (No Root)

Hey, guys today through this tutorial you are going to learn how to install Xperia Home Launcher on any Android device without any root. Also...

Tips to Speed Up WordPress Performance

Here, I am sharing some tips to speed up WordPress performance. All you need to modify .htaccess file on your server and add some plugins.

How to Display Featured Image Before or After Entry Title in Genesis

Learn how to add featured image to a single post or a page in Genesis child themes. You can set it to display featured...