Best way to delete 12,000 wordpress comments?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kard63
    Confirmed User
    • Nov 2003
    • 8944

    #1

    Best way to delete 12,000 wordpress comments?

    What is the best way to delete these fuckers?


    I know some ignorant trolls will give me ways to prevent it from happening in the first place instead of answering my question but thanks in advance to anyone who actually helps.
  • Machete_
    WINNING!
    • Oct 2002
    • 14579

    #2
    get someone that know mysql to write you a dump to phpmyadmin.

    Copy-Paste-Execute-Done
    Last edited by Machete_; 02-05-2009, 06:04 AM.

    Comment

    • Sosa
      In Tushy Land
      • Oct 2002
      • 40149

      #3
      I'd suggest phpmyadmin as well

      Comment

      • Libertine
        sex dwarf
        • May 2002
        • 17860

        #4
        Originally posted by ebus_dk
        get someone that know mysql to write you a dump to phpmyadmin.

        Copy-Paste-Execute-Done
        This. Shouldn't take more than 5 minutes, and that includes making a cup of coffee and drinking it.
        /(bb|[^b]{2})/

        Comment

        • Antonio
          Too lazy to set a custom title
          • Oct 2001
          • 14136

          #5
          phpmyadmin - export your database as sql file to your HD, keep one back up copy
          open the sql file in a text editor
          find table wp_comments
          delete all comments
          import database back using phpmyadmin

          Comment

          • Antonio
            Too lazy to set a custom title
            • Oct 2001
            • 14136

            #6
            you can execute SQL quiery directly in phpmyadmin, but the chances of you fucking up are much hgher ;)

            Comment

            • tranza
              ICQ: 197-556-237
              • Jun 2003
              • 57559

              #7
              I'm bookmarking this thread for future reference.

              I'm just a newbie.

              Comment

              • V_RocKs
                Damn Right I Kiss Ass!
                • Nov 2003
                • 32451

                #8
                Do they follow a pattern?

                Comment

                • kowalsky
                  Confirmed User
                  • Oct 2003
                  • 2494

                  #9
                  yeah, I had to deal with that shit a few weeks ago. Then I asked my server admin to do it on the DB.
                  Jimmy Kowalsky
                  www.catchycash.com
                  [email protected]
                  ICQ - 7319094

                  Comment

                  • GrouchyAdmin
                    Now choke yourself!
                    • Apr 2006
                    • 12085

                    #10
                    delete from wp_comments where 1=1;

                    all done.

                    Comment

                    • georgeyw
                      58008 53773
                      • Jul 2005
                      • 9865

                      #11
                      Originally posted by Kard63
                      What is the best way to delete these fuckers?


                      I know some ignorant trolls will give me ways to prevent it from happening in the first place instead of answering my question but thanks in advance to anyone who actually helps.
                      I'm guessing you don't know anything about mysql - if you have phpmyadmin, login to the db, select the table and top right is an 'empty' link. Click that and your comments table will be free of spam (and ALL other comments).
                      TripleXPrint on Megan Fox
                      "I would STILL suck her pussy until her face caved in. And then blow her up and do it again!"

                      Comment

                      • darksoul
                        Confirmed User
                        • Apr 2002
                        • 4997

                        #12
                        Originally posted by GrouchyAdmin
                        delete from wp_comments where 1=1;
                        Code:
                        delete from wp_comments where comment_approved=0;
                        1337 5y54|)m1n: 157717888
                        BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
                        Cambooth

                        Comment

                        • CaptainWolfy
                          Playa
                          • Dec 2005
                          • 8439

                          #13
                          spam karma... plugin for wp

                          Comment

                          • TheDoc
                            Too lazy to set a custom title
                            • Jul 2001
                            • 13827

                            #14
                            Upgrade your Wordpress to current, click the spam count # on the dashboard. Click the "Delete All Spam" button.

                            It's built straight into the new wp..
                            ~TheDoc - ICQ7765825
                            It's all disambiguation

                            Comment

                            Working...