Question

How can I disable comments on all already existing nodes and disable comments by default for all content_types?

Was it helpful?

Solution

  1. Run the following SQL query to disable comments on all existing nodes:

    UPDATE node SET comment=0  WHERE 1;
    
  2. Go to /admin/content/types -> Edit each content_type -> Disable comments by default

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top