[WordPress] 外掛分享: Quick Search Replace

首頁 › 外掛目錄 › Quick Search Replace
WordPress 外掛 Quick Search Replace 的封面圖片
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
34 天前
最後更新
—
問題解決
WordPress 6.2+ PHP 8.0+ v1.0.1 上架:2025-09-23

內容簡介

總結:Quick Search Replace 是一個提供使用者友善介面的外掛,可在 WordPress 資料庫上執行全面的搜尋和替換操作。這個工具設計用來搜尋你所選取的表格的每個欄位,使其成為網站遷移(例如,更改域名或切換至 HTTPS)的一個強大工具。

問題與答案:
- 這個外掛的主要功能是什麼?
* 提供使用者友善的界面,可以在 WordPress 資料庫上執行全面的搜尋和替換操作。
- 這個外掛有哪些關鍵功能?
* 全面搜尋:在所選取的表格的所有欄位進行替換。
* 序列化支持:正確處理序列化的 PHP 陣列和物件。
* 選擇特定表格:完全控制可選擇操作中包含的表格。
* 乾跑:進行“乾跑”以查看有多少資料庫欄位將被更改,而不進行任何實際修改。
* 網址重整:在實際執行後自動刷新 WordPress 重寫規則,以確保你網站的連結不會壞掉。
* WordPress 多站支持:完全支援多站,列出整個網絡中的所有表格。
- 使用此外掛時需要注意什麼?
* 此工具功能強大並直接修改你的資料庫。因為它搜尋每個欄位,所以如果與你的搜索字串匹配,它可能會更改敏感數據,例如使用者登入、雜湊密碼和貼文 GUID。在使用此工具之前,請務必創建完整的資料庫備份。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Quick Search Replace」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Quick Search Replace provides a fast, modern, and user-friendly interface to run comprehensive search and replace operations on your WordPress database. Designed for site migrations, domain updates, and protocol switches (HTTP to HTTPS), it safely inspects every column of your selected tables.
It correctly handles serialized PHP data and JSON strings, protects composite primary key tables, and automatically flushes permalinks after a migration to prevent 404 errors.
Key Features:

Modern Admin Interface: Redesigned dashboard with real-time table filtering, row count and table size metrics, and clean status indicators.
Memory-Safe Chunked Processing: Queries tables in batches to prevent memory exhaustion and execution timeouts on large databases.
Safe Serialized Data Handling: Automatically detects serialized arrays and objects, recursively substituting values and recalculating byte lengths without corrupting data.
Dry Run with Visual Diff Preview: Test your search and replace query beforehand with sample before/after change snippets before modifying a single row.
Smart URL & Domain Matching: Safely handles http/https, www, protocol-relative (//domain.com), and JSON-escaped URLs without altering unrelated words or slugs.
Skip GUIDs Column Option: Follows official WordPress recommendations to preserve post GUIDs so RSS readers do not duplicate feed entries.
Case-Insensitive Search Option: Toggle between exact-case and case-insensitive replacements with a single click.
Composite Primary Key Support: Reliably updates complex relationship tables (such as wp_term_relationships) without accidental multi-row overwrites.
WordPress Multisite Aware: Fully functional in both single-site and Network Admin environments, listing tables across the network.
Automatic Permalink Flushing: Clears rewrite rules after a live run to ensure links work immediately.

WARNING: This tool directly modifies your database. While multiple safety checks and dry-run previews are built in, ALWAYS take a complete database backup before executing a live search and replace.

延伸相關外掛

文章
Filter
Mastodon