How to Automatically Delete all Spam Posts on WordPress


A simple way to remove all the SPAM posts that fill up the of WordPress database..

The Plugin named “Optimize Database after Deleting Revisions” is excellent for removing all comments listed as SPAM that are taking up space in a database, and maybe slowing down a website.

The SPAM removal feature is an option in this plugin, and when activated removes all comments previously marked as spam by plugins such as Akismet.  This can be set to run Hourly, Daily or Weekly.

Link: https://wordpress.org/plugins/rvg-optimize-database/

Main Features

Deletes redundant revisions of posts and pages (you optionally can keep an ‘x’-amount of the most recent revisions)
Deletes trashed posts, pages and comments (optional)
Deletes spammed comments (optional)
Deletes unused tags (optional)
Deletes ‘expired transients’ (optional)
Deletes ‘pingbacks’ and ‘trackbacks’ (optional)
Deletes ‘orphan postmeta items’
Optimizes the database tables (optionally you can exclude certain tables from optimization)
Creates a log file of the optimizations (optional)
Optimization can be scheduled to automatically run once hourly, twice daily, once daily or once weekly at a specific time (optional)
‘Optimize DB (1 click)’ link in the admin bar (optional)
‘Optimize Database’ Icon in the admin menu (optional)

WordPress Plugin Tips


49.1 - 868,042
DreamHost

Scroll down for Comments
0 0 votes
Article Rating
Subscribe
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x