Need to delete 27,000 spam forum posts
-
Hi,
I have a bbpress forum on my website which was spammed with messages. There are 27,000 spam topics on it. I want to delete the forum entirely, but since there are so many topics, when I try to delete it the request gets timed out.I would like to delete most of the posts directly from the database with an SQL query. Can anyone provide an SQL query to delete these messages?
As far as I could tell, all of the messages have the same title and same author name, if that helps (I didn’t look through all of the 27,000 posts).
Any help is appreciated, thanks!
- You must be logged in to reply to this topic.