• Resolved Clayton Collie

    (@claytoncollie)


    Hi there, I am helping clean up a website and I came across the 404 errors table with over 2.3 million 404 errors mostly for the apple-touch-icon and related URLs.

    I am deleting them 200 at a time but that is waaaaay too slow.

    Can you help me write a small function to delete them all or add a bulk delete button in your options page?

    If I were to write a function I could trigger something on admin_init, include one of your classes then call a method from your class like bulk delete?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Clayton Collie

    (@claytoncollie)

    Update.

    I went into the DB with PhpMyAdmin, found the 404 table and used the Empty Table command. That worked just fine. Went from a 500MB database to 50MB.

    Plugin Author John Godley

    (@johnny5)

    For future reference there is also a delete button at the bottom of the 404 page you can press.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bulk delete millions of 404 errors’ is closed to new replies.