How to Clear and Manage Broken Link Checker Database Tables
Content
Many WordPress users rely on the Broken Link Checker plugin to maintain site integrity, but over time, its database tables can grow significantly. This can lead to concerns about database optimization and backup sizes. This guide explains how to safely manage and clean these tables without breaking plugin functionality.
Why Broken Link Checker Tables Grow Large
The Broken Link Checker plugin creates several database tables to track links throughout your website. The main tables include:
wp_blc_links- Stores information about each detected linkwp_blc_instances- Tracks where links appear in your contentwp_blc_synch- Manages synchronization datawp_blc_filters- Stores custom link filters
Additionally, the plugin creates a blc_installation_log entry in your wp_options table, which can sometimes become quite large (up to 455KB as reported by users).
How to Safely Clean Broken Link Checker Data
Option 1: Complete Plugin Reset
If you want to start fresh with Broken Link Checker, you can safely remove its data by:
- Deactivating the plugin from your WordPress dashboard
- Using phpMyAdmin or similar database management tool to delete these tables:
wp_blc_filterswp_blc_instanceswp_blc_linkswp_blc_synch
- Removing the
blc_installation_logrecord from yourwp_optionstable - Reactivating the plugin, which will recreate empty tables
Option 2: Partial Cleanup
If you prefer to keep your plugin settings but want to reduce database size:
- You can safely truncate or delete records from the
wp_blc_linkstable specifically - The plugin will regenerate link data during its next scan
- You can set the
blc_installation_logoption toautoload=noto prevent it from loading with every page
Important Considerations
- Back up your database before making any changes
- Deleting tables will remove all your current link data and settings
- The plugin will need to rescan your entire site after cleaning the database
- If you use the plugin infrequently (e.g., every 6 months), consider deactivating it between uses to prevent table growth
Compatibility Note
Some users have reported compatibility issues with migration plugins like Duplicator when Broken Link Checker tables contain data. If you're planning to migrate your site, consider cleaning these tables beforehand or temporarily deactivating the plugin during the migration process.
By regularly managing your Broken Link Checker database tables, you can maintain optimal website performance while still benefiting from the plugin's link monitoring capabilities.
Related Support Threads Support
-
WooCommerce Affiliation Links not supportedhttps://wordpress.org/support/topic/woocommerce-affiliation-links-not-supported/
-
How to search through ALL custom fields?https://wordpress.org/support/topic/how-to-search-through-all-custom-fields/
-
clear databasehttps://wordpress.org/support/topic/clear-database-3/
-
Duplicator import fails: wp_blc_links.result_hash too smallhttps://wordpress.org/support/topic/duplicator-import-fails-wp_blc_links-result_hash-too-small-2/
-
Truncate or delete wp_blc_linkshttps://wordpress.org/support/topic/truncate-or-delete-wp_blc_links/
-
blc_installation_loghttps://wordpress.org/support/topic/blc_installation_log/
-
Duplicator import fails: wp_blc_links.result_hash too smallhttps://wordpress.org/support/topic/duplicator-import-fails-wp_blc_links-result_hash-too-small/