• Resolved Tim Burkart

    (@bigmoxy)


    I am upgrading a site that contains thousands of spam comments. Can I empty the wp_comments and wp_commentmeta tables and then zero out the comment_count column in the wp_posts table?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hugh Lashbrooke

    (@hlashbrooke)

    Hi Tim,

    If you can edit the database, then yes – doing that will be safe and work just fine. That being said, I would strongly recommend that you back up your site and database before you make any changes there, even if they appear to be safe. That way, you can always roll back if anything unexpected happens.

    Thread Starter Tim Burkart

    (@bigmoxy)

    Thank you @hlashbrooke!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp_posts question – comment_count’ is closed to new replies.