• i am cleaning my database from spam, which were somehow inserted there, but my site is working regardless. i opened phpmyadmin, the table wp_posts. so i simply go to the tab that says browse, go over the posts one by one, and just hit delete and those posts are physically removed right?

    but what about the table called wp_postmeta? dont all the possts in wp_posts have a corresponding entry in wp_postmeta? if so , if i delete posts from posts table will it be a problem or it is ok?

    even if it is ok, the meta for the spam post means it is still in postmeta table. so is there a better way to clean faster and both? i didnt touch anything yet. i want to know first

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    (@t-p)

    Thread Starter ketanco

    (@ketanco)

    this does not help me…
    anyone cam specifically answer my specific question please?

    I wouldn’t delete much of anything via the database. The best place is to delete from the dashboard as that system knows what is hooked to what and where.

    If you’ve started doing that then install a database optimizer, optimize and then look it over with a garbage collecting database cleaner which should offer to clean up orphaned data.

    Orphaned data usually won’t hurt anything but sometimes…

    Thread Starter ketanco

    (@ketanco)

    when you say the best place to delete is via dashboard what do you mean specifically? installing plugins as discussed or something else?
    and as for specifically cleaning posts what do you recommend? the wp_posts table is the place i saw all the spam… comments were being protected by akismet already. also the suggested plugin advanced database cleaner does nothing to cleanr spammy posts from the wp_posts table, i just installed and looked

    • This reply was modified 5 years, 11 months ago by ketanco.
    • This reply was modified 5 years, 11 months ago by ketanco.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘deleting spam from database’ is closed to new replies.