How to Remove Comment Author URL in WordPress

Join InfoPhilic Community!

Let's build a community to help & encourage each other to grow!

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.


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 = '';

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.


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?

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.



Please enter your comment!
Please enter your name here


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...


Bluehost Hosting

Get hosting for just $3.95 per month with Bluehost. Bluehost is an officially recommend WordPress host, and one of the most popular & reliable web hosts available.


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 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...

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,...

How to configure WP-Rocket plugin for WordPress site

When it comes to optimizing your website, the role of caching in WordPress can never be underestimated. What exactly is caching all about?...

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...

How to create News Sitemap for WordPress site?

Learn how to create special news sitemap for your WordPress blog/ website using Yoast News SEO plugin and Jetpack plugin.