How to Remove URL Field From WordPress Comment Form
Let’s think about it, the “Website” field is not useful in most cases, as genuine commenters probably do not own a website and it simply allows spammers to build links to their websites. The more comments containing backlinks will cause your posts to have more outbound links and it will cause harm to your SEO efforts.
How to Remove URL / Website Field from WordPress Comment Form?
It is true that WordPress websites attract a lot of spammers as most of them know how easy it is to build backlinks off from them. Most bloggers do not know how to control spam and they do not have the time to moderate each comment.
[Resolved] How To Remove URL Field From WordPress Comment Form
Hi, since WordPress 4.9.6 this code won’t work. Maybe because there is an additional field related to GDPR in comment form. And Google results are note helping because there is no new code that compatible after the 4.9.6 update.
Hi, you’re right, never edit any files from the parent theme, always use a child theme.
For your problem, sorry, but the website field in the comments come from WordPress, I never tried to disable it, so you will need to do some search on google. Maybe the best solution for you would be to use a plugin to replace the default comments and give you control on the fields.
How to Remove URL / Website Field from WordPress Comment Form
We all know that WordPress is highly customizable and can be customized up to a great extent. WordPress is also famous for a huge repository of plugins which provides you plugins for everything. What if you want to remove URL / Website field from the comment form? This prevents automated bots to post spam links on your website. It helps your website retain the SEO Juice.
How to Remove Website Field from WordPress Comment Form
You’ll normally find your child theme’s function.php file in /public_html/wp-content/themes/YOURTHEME-child/functions.php or /public_html/YOURDOMAIN.COM/wp-content/themes/YOURTHEME-child/functions.php, if you want to access an add-on domain’s files.