These two items are responsible for a lot of the spam comments that are entered on a WordPress. Removing them has the potential to cut down on the number you receive.
Adding the first block of code below will remove the author link from existing Recent Posts displays where the author has entered a website URL in the comments area. Note that the author link in the actual comments listing on the post will remain; you would have to manually remove the URL from the Comments section in the Admin dashboard.
The second block of code will remove the Website field (comment URL) from the comments area preventing any further misuse of this “feature”.
Use the Code Snippets plugin to add the code presented and create and activate a new snippet for each block.
As always, read and understand the Sniffle Valve Disclaimer before proceeding.