Technology Support Desk | Take Control of Technology » Computer Tips and Tricks, Wordpress, Wordpress Tips » Delete URL Website Field from WordPress Comments Form
Delete URL Website Field from WordPress Comments Form
Its very simple to delete the Website URL Field from your WordPress Comments Form.
This will help not encourage spammers wanting to submit posts to get a URL backlink on your site. You should also tick the options to hold posts on more than 1 URL link within the post as well.
To remove the Website field do as follows:-
1 - Log into your /wp-admin
2 - Click Appearance
3 - Click Editer
4 - Click the file named - comments.php
5 - Delete the whole line below. (because the website field is not a required field it will not cause any issues to your existing posts (unlike the name and email fields.)
<p><input type="text" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="22" tabindex="3" />
<label for="url"><small><?php _e('Website','cover-wp') ?></small></label></p>
Example With URL
Example Without URL

Related posts:
- WordPress Logo Branding Plugin Available
- WordPress Easy Peasy Adsense by martinglover.co.uk
- Moving a WordPress site from one domain to another
- WordPress Easy Peasy Adsense plugin released
- WordPress landing page template 12 for 10 offer
Filed under: Computer Tips and Tricks, Wordpress, Wordpress Tips · Tags: delete url from form, delete website url, dont encourage url, prevent backlink spammers, prevent spammers using url, Wordpress Comments Form, wordpress url, wp-admin














Twitter
This doesn’t encourage people to comment thought, surely another solution is available i use Akismet which tends to find spammers. Plus you have captcha =)
Regards
Isaac
I agree that Akismet is great for automated spammers who use link building tools to push out posts with links to WordPress sites. When you have human spammers trying to link build on your site Akismet isn’t really great at spotting this so deleting the URL is a good idea and also holding posts for review with more than 1 URL in the WP-Admin panel settings.
Also captcha is a great plug-in in the fight against spam. Ive took this post one step more and made the “website” field in MYSQL DB to only allow a maximum of 1 digit as even though the field now doesn’t show on the blog its still there in the background and these automated link submit tools still get through.
Since I made this change on my blog the spamming has dropped from 100 posts a day to just 2-3 “take that you none organic link builders out there” haha
Mick
Doesn’t encourage people to comment thought, surely another solution is available i use Akismet which tends to find spammers
I’ll bite, what version of WordPress does this apply to?