Deleting Redirection plugin leaves behind four tables and cron job
-
I recently deleted the Redirection plugin on a site with 100k 404 errors logged. It was set to purge logs after one week but that wasn’t working. The database bloated from 8MB to 40MB with all logged data.
After deleting the plugin I went and checked the database tables and noticed they were still there. I expected them to be gone. I re-installed the plugin to check for a purge option. There is an option to delete the tables within the plugin. I bet this goes unnoticed by many. After deleting through the plugin, my database file size went down to 8MB as expected. This process deactivated the plugin but did not delete it. I still had to delete the plugin.
Standard WordPress procedures recommend to delete all data after deleting the plugin.
Also, I checked the cron jobs and noticed that there is still a cron related to Redirection.
Is there a reason for the way this works? Can you do a better job of cleaning up when deleted?
- The topic ‘Deleting Redirection plugin leaves behind four tables and cron job’ is closed to new replies.