Skip to content

Releases: mubseoul/wp-link-sweeper

WP Link Sweeper v1.1.0 - CSV Export Feature

Choose a tag to compare

@mubseoul mubseoul released this 22 Feb 08:49

WP Link Sweeper v1.1.0 🚀

This release adds a powerful CSV export feature to help you analyze and report on broken links!

✨ What's New

CSV Export Functionality

Export your broken links data to CSV format for easy analysis, reporting, and record-keeping.

Features:

  • One-Click Export: New export button in the Broken Links tab
  • Smart Filtering: Export respects your current filters (status, post type, domain)
  • Comprehensive Data: Includes all link details:
    • URL and final destination (after redirects)
    • Status codes and error types
    • Redirect counts and response times
    • Number of occurrences
    • List of affected posts with IDs
    • Last checked timestamps
  • Excel Compatible: UTF-8 BOM encoding for proper character display
  • Timestamped Files: Automatic filenames like broken-links-2024-02-22-134520.csv

📊 Export Data Columns

  1. URL - The original link
  2. Status Code - HTTP response code (404, 200, etc.)
  3. Status - Broken, OK, Redirect, or Error type
  4. Error Type - DNS Error, Timeout, SSL Error, etc.
  5. Redirects - Number of redirect hops
  6. Final URL - Destination after redirects
  7. Response Time - Milliseconds to respond
  8. Occurrences - How many times the link appears
  9. Found In Posts - Post titles and IDs containing the link
  10. Last Checked - Most recent check timestamp

🎯 Use Cases

  • Reporting: Share link analysis with clients or management
  • Documentation: Keep historical records of site health
  • Analysis: Process data in Excel, Google Sheets, or database tools
  • Auditing: Track broken links over time
  • Migration Planning: Identify URLs that need redirection rules

🔧 Technical Details

New Files:

  • includes/class-exporter.php - CSV generation engine

Updated:

  • Enhanced admin interface with export section
  • JavaScript integration for seamless export
  • Security: Nonce validation and capability checks
  • Performance: Efficient data retrieval and CSV generation

📦 Installation

From Release (Recommended)

  1. Download wp-link-sweeper-v1.1.0.zip
  2. Go to WordPress Admin → Plugins → Add New → Upload Plugin
  3. Upload ZIP and activate
  4. Visit Tools → Link Sweeper

Update from v1.0.0

Simply update through WordPress admin or replace plugin files.

🚀 Usage

  1. Navigate to Tools → Link Sweeper → Broken Links tab
  2. Apply any filters (status, post type, domain) you want
  3. Click the "Export to CSV" button
  4. Your browser will download the CSV file
  5. Open in Excel, Google Sheets, or any spreadsheet app

📋 Requirements

  • WordPress 6.0+
  • PHP 8.0+
  • MySQL 5.6+

🐛 Bug Fixes

  • None in this release (feature-only update)

🗺️ Coming in v1.2

  • Email notifications for broken links
  • SEO plugin integration (Yoast, RankMath)
  • Page builder support (Elementor)
  • Developer hooks and filters
  • Bulk ignore by domain

📖 Documentation

📝 Changelog

Added

  • CSV export functionality for broken links
  • Export button in Broken Links admin tab
  • Filter-aware export (respects current view)
  • Comprehensive data export with all link details
  • Excel-compatible UTF-8 encoding

Changed

  • Updated version to 1.1.0
  • Enhanced admin UI styling

Technical

  • New Exporter class for CSV generation
  • AJAX endpoint ls_export_csv
  • Security enhancements for file downloads

Credits: Developed by Mubseoul

WP Link Sweeper v1.0.0 - Initial Release

Choose a tag to compare

@mubseoul mubseoul released this 22 Feb 08:37

WP Link Sweeper v1.0.0 🚀

The first official release of WP Link Sweeper - a fast, safe broken link scanner with bulk find/replace and auto-fix rules for WordPress.

🎉 What's New

This is the initial release with full functionality ready for production use.

✨ Core Features

Smart Link Scanner

  • Scans posts, pages, and WooCommerce products for broken links
  • Detects links in <a href> tags and plain URLs in content
  • Uses HEAD requests first, falls back to GET when needed
  • AJAX-based batch processing prevents timeouts on large sites

Comprehensive Link Checking

  • Detects 404s, timeouts, DNS errors, SSL issues, and redirects
  • Tracks response times and redirect chains
  • Configurable rate limiting (be polite to external servers)
  • Custom user agent support

Broken Link Management

  • Detailed reporting with filterable table
  • Filter by status (broken/ok/redirects), post type, and domain
  • Recheck individual links
  • Ignore false positives
  • See exactly which posts contain each broken link

Bulk Find & Replace

  • Preview changes before applying
  • Multiple match types: contains, equals, starts with, ends with
  • One-level undo support
  • Safe replacement (protects code blocks)
  • Applies across selected post types

Auto-Fix Rules

  • Pattern-based URL replacement rules
  • Wildcard support (e.g., oldsite.com/*newsite.com/*)
  • Enable/disable rules without deleting
  • Dry-run preview before applying

Performance & Reliability

  • Custom database tables for efficient storage
  • Batch processing (configurable sizes)
  • WP Cron scheduled scans (hourly/daily/weekly)
  • Real-time progress tracking
  • Stop scans anytime

Developer-Friendly

  • Clean OOP structure with PSR-4 autoloading
  • WordPress coding standards compliant
  • Security-first design (nonces, capability checks, sanitization)
  • Translation-ready (i18n)
  • Comprehensive documentation

📋 Requirements

  • WordPress 6.0+
  • PHP 8.0+
  • MySQL 5.6+

💾 Installation

Method 1: WordPress Admin (Recommended)

  1. Download wp-link-sweeper-v1.0.0.zip from this release
  2. Go to Plugins → Add New → Upload Plugin
  3. Choose the ZIP file and click Install Now
  4. Activate the plugin
  5. Navigate to Tools → Link Sweeper

Method 2: Manual Installation

  1. Download and extract the ZIP file
  2. Upload to /wp-content/plugins/wp-link-sweeper/
  3. Activate through the Plugins menu
  4. Navigate to Tools → Link Sweeper

🚀 Quick Start

  1. Go to Tools → Link Sweeper
  2. Click Start New Scan
  3. Wait for the scan to complete
  4. Review broken links in the Broken Links tab
  5. Use Find & Replace or Auto-Fix Rules to fix issues

📖 Documentation

🐛 Known Issues

None at this time. Please report any issues on GitHub Issues.

🗺️ Roadmap (v1.1+)

  • CSV export functionality
  • Email notifications for broken links
  • SEO plugin integration (Yoast, RankMath)
  • Deeper page builder support (Elementor)
  • Hooks and filters for developers
  • Bulk ignore by domain
  • Link status history tracking

📝 Credits

Developed by Mubseoul

📄 License

GPL v2 or later


Note: This plugin performs HTTP requests to external websites to verify link validity. Always respect robots.txt and be mindful of rate limiting settings.

🤖 Generated with Claude Code