Answer the question
In order to leave comments, you need to log in
How to reset the comment counter in WP?
Hi friends! Maybe someone has experienced this and knows the solution.
Transferred the site with a duplicator from one hosting to another: all files, database, etc. Accordingly, all comments were transferred. Because there were a lot of them and it was not possible to delete them through the admin panel - the server gave an error, I cleared the comment table in the MySQL database itself. And the counters of the posts, unfortunately, remained, although there are no comments.
How to reset, "reset" this counter? www.prntscr.com/a05o0m
Answer the question
In order to leave comments, you need to log in
The posts table has a column " comment_count "
Set to 0 for each post.
For some reason it doesn't work. Field cleared - prntscr.com/a0j0sm
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question