InfoPhilicHow toHow to Remove Comment Author URL in WordPress

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, the comment form has three fields (name, email, and website or URL). WordPress automatically hyperlinks the name of the commenter with the website URL they provided when displaying the comments. 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 the WordPress comment form is always beneficial. Doing this greatly reduces the number of spam comments.

What about existing comment author URLs?

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

SEMrush

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 allows you to run queries to your database.
  • Select your WordPress installation’s database.
  • Go to the “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.

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 the 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 other 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?

Amit Malewarhttps://www.infophilic.com/
Amit Malewar has been the tutorial writer since 2013. His passion for helping people in all aspects of technology flow through the expert coverage he provides. In addition to writing for InfoPhilic, Amit loves to read and try new things.

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.

3 COMMENTS

  1. Kindly help me on the author archive url.

    It’s showing the username instead of display name or nickname. Pretty weird.

    For example: www.acb.com/author/[email protected]$

    I want to display it as: www.acb.com/author/authord display name or nickname

    Don’t know what is causing the issue? Tried disabling all plugins as well.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

GET STARTED

POPULAR NOW

DEALS

SEMrush

TRY SEMrush for Free!