How do I remove comments from YouTube?

Article #: Product Castle
1729 Guardian All


Setting up the Smoothwall to remove comments from YouTube.


Guardian Comments on Youtube can often contain material that is not deemed appropriate, therefore you may wish to remove them.


Please note: This solution relies on the content modification 'Youtube comment removal'. This, however, is not needed if the content modifications 'Youtube restricted mode' or Youtube safetymode cookie' are enabled as Youtube restricted mode removes all comments. This solution id most appropriate for customers who do not use GSuite for Education.

Note: YouTube now redirects all users to HTTPS, so in order to ensure that your content modification policies are working correctly make sure you have configured a Decrypt and Inspect HTTPS interception policy. You will also need the decryption certificate installed on the devices' browsers as a root trusted certificate. You can export the certificate from Guardian > HTTPS inspection > Settings.

  1. Ensure you have not created any Whitelist web filter policies for the YouTube category as whitelisting bypasses the content modification rules — see
  2. Ensure you have not created any Ignore content modification policies for the YouTube category — see
  3. Create a content modification policy for the YouTube category that applies the YouTube Comment Removal — see
  4. Ensure the YouTube category is added to your Decrypt and inspect HTTPS inspection policy — see

Read our article about how to enable SafeSearch.


Last updated: Author: Contributions by:
29 July 2016   TE