How to remove website field from WordPress comment form

If you want to remove the website or any other field from the comment form of your WordPress site/blog, you will first have to check if it is loading default comment form or custom form from your theme. It’s generally inside comments.php file of your active theme. If you see comment_form() in the comments.php file, then it can be modified using comment_form_default_fields filter.

function careless_customize_comment_fields( $fields ) {
    unset( $fields['url'] );

    //if you want to remove the cookie/save name, email tick box
    unset( $fields['cookies'] );

    return $fields;
}

add_filter( 'comment_form_default_fields', 'careless_customize_comment_fields' );

Code goes in the functions.php file of your active theme.