Check each comment for valid website (2 posts)

  1. f00kie
    Posted 10 years ago #


    I've searched around but couldn't find anything relevant.
    Is it possible to check each comment for a valid URL (if one was supplied)? On my blog, a lot of commenters don't provide the website in valid URL format at all; they seem to fill this in because they think it's not optinal, which is not true.

    I guess there could be two ways to this hack: check for valid format, and check for valid site by pinging it. The former would be more recommended, but if anyone can point me in the right direction in terms of both of those methods, that'd be great.


  2. Michael Bishop

    Posted 10 years ago #

    Or you could simply edit your comments form to ask your visitors to provide a full, valid URI, or not one at all.

Topic Closed

This topic has been closed to new replies.

About this Topic