Elimine el campo del sitio web del formulario de comentarios para DETENER el spam (Método fácil)

Deshabilitar la URL del sitio web del formulario de comentarios

As any blogger knows, comment spam can seriously detract from the user experience on a WordPress site.

Not only does it clutter up otherwise valuable discussions, but it can also negatively impact your site’s reputation if left unchecked.

While there are plugins that help filter spam comments automatically (Like Akismet), one of the most effective tactics is to remove the unnecessary website field from your comment form, that spam bots commonly target.

Why Remove the Website Field from the Comment Form?

The “websitefield is included by default on WordPress comment forms. Desafortunadamente, this field provides little value for legitimate commenters while giving spam bots an easy place to populate with garbage links. Removing it can cut down on a major point of entry for spam.

Comment SPAMwas a popular method for bots to insert backlinks to shady websites back in the day. sin embargo, even today, there is still a huge amount of comment spam being generated.

And even though WordPress now understands this and filters the spam comments pretty successfully. They are still stored in your database.

The Easiest way to Remove the Website field from the Comment Form (with a free plugin)

You can add code to your functions.php file or use a plugin that will insert it automatically for you. While all these methods work, I found one useful plugin that I was using already, that can do this very easily.

Removing the Website Field from the Comment Form with WPCode Lite plugin

WPCode Lite is a free plugin with multiple useful options. The plugin was previously known as “Insert Headers and Footersand it has 2+ million active installations.

This is a very powerful plugin that can help you in many ways. But now let’s focus on removing the website field from the comments form.

After you install and activate WPCode Lite, you’ll see the new menu called “Code Snippets”, or simply find the plugin in your Plugins list and click on “Code Snippets

WPCode Lite "Code Snippets"

Click the “+ Add Snippetand you’ll see a library of pre-made snippets. They are separated in categories. What we need now is the “Commentscategory.

Remove Website Field from the Comment Form with WPCode Lite

You’ll see the snippet calledDeshabilitar la URL del sitio web del formulario de comentarios. Now we just need to activate it and set some additional rules.

To use this free snippet you’ll need to register a free account and connect to the library. This takes just a few seconds and a simple registration form.

Por defecto, the snippet will run everywhere. Since it only applies to the comments form on the post pages, we can change the location to Page-Specific.

I choose “Insert After Postand it works as expected for me.

This is it!

Check your Comment form now in incognito mode (or make sure you are logged out) to see if it works as it should.

Download WPCode

Línea de fondo

Removing unnecessary form fields slashes an easy spam entry point without negatively impacting the user experience for real commenters. By leveraging a plugin like WPCode Lite, you can craft an optimized comment form that welcomes engagement while blocking a major flow of spam. Keep your discussions on track and your site’s reputation strong through these simple spam-prevention tactics.

Let me know if you need any other tips for fighting comment spam or optimizing the user experience on your WordPress site. Reducing friction for genuine users while complicating things for bots is key.

Divulgación: Algunos de los enlaces de la página pueden contener un código de referencia. (enlaces de afiliados), que le dice al otro lado que te hemos enviado. Si te gustó lo que te proponemos y realizas una compra, podemos recibir una comisión.

Daniel Adamo
Daniel es un creador de contenido especializado en temas y complementos de WordPress.. Escribe guías y tutoriales detallados para ayudar tanto a principiantes como a profesionales a aprovechar WordPress al máximo.. En su tiempo libre, Daniel actúa como voluntario para organizaciones sin fines de lucro.. Él cree que las plataformas de código abierto como WordPress son herramientas importantes para empoderar causas y comunidades en todo el mundo..