Skip to content

WP Link Sweeper v1.1.0 - CSV Export Feature

Latest

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