Title: Replacely – Bulk Content Find &amp; Replace by URLs
Author: Ankur Patel
Published: <strong>2026 年 5 月 28 日</strong>
Last modified: 2026 年 5 月 28 日

---

搜尋外掛

![](https://ps.w.org/replacely/assets/banner-772x250.png?rev=3551703)

![](https://ps.w.org/replacely/assets/icon.svg?rev=3551703)

# Replacely – Bulk Content Find & Replace by URLs

 由 [Ankur Patel](https://profiles.wordpress.org/ankur2194/) 開發

[下載](https://downloads.wordpress.org/plugin/replacely.1.0.4.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/replacely/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/replacely/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/replacely/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/replacely/#developers)

 [技術支援](https://wordpress.org/support/plugin/replacely/)

## 外掛說明

**Replacely** is an administration tool that lets WordPress site owners and developers
safely find and replace exact text inside post, page, custom-post-type, and Elementor
content across a curated list of URLs or paths.

Unlike search-and-replace tools that scan the whole database blindly, this plugin
operates surgically: you provide the list of URLs you want to touch, the exact text
to find, and the exact text to replace it with. Nothing else is modified.

#### Highlights

 * Exact, case-sensitive matching. No regex surprises.
 * Accept full URLs (e.g. `https://example.com/sample-page/`) and relative paths(
   e.g. `/sample-page/`).
 * Detect target post automatically via `url_to_postid()`, supporting any registered
   post type.
 * Elementor-aware: also replaces text inside Elementor page content (`_elementor_data`)
   and refreshes Elementor’s CSS cache afterward.
 * **Dry Run** mode shows what _would_ change before any database write.
 * Results dashboard with summary tiles, detailed table, status colors, dashicons,
   and replacement counts split by source (classic content vs. Elementor).
 * One-click **CSV export** and **Copy results** to clipboard.
 * Persistent **activity log** of every live replacement (page, post type, replacement
   count, user, timestamp, View/Edit links). Keeps the 200 most recent updates and
   can be cleared anytime. Dry runs are never logged.
 * Hardened security: capability checks, nonces, sanitisation, escaping, direct-
   access protection.
 * Skips revisions, auto-drafts, and trashed posts. Duplicate URLs are processed
   only once.
 * Clean uninstall: deleting the plugin removes all of its data (activity-log option
   and per-user transients) from the database, multisite-aware. Your content changes
   are kept.
 * Translation-ready.

#### Built for reliability

 * Object-oriented architecture with namespaced classes.
 * Modular file structure: bootstrap, plugin container, admin page, replacer service,
   helper utilities.
 * Polished, responsive admin UI that complements the native WordPress design language.

## 安裝方式

 1. Upload the `replacely` folder to `/wp-content/plugins/`, or install the ZIP via**
    Plugins  Add New  Upload Plugin**.
 2. Activate the plugin from the **Plugins** screen.
 3. Navigate to **Tools  Replacely**.

## 常見問題集

### Is matching case-sensitive?

Yes. Matching is exact and case-sensitive, so `Hello` and `hello` are not considered
the same.

### Can I use regular expressions?

No. By design, the plugin uses exact string replacement to avoid the typical foot-
guns of regex-based replacements on production data.

### Does it support custom post types?

Yes. Any post type whose permalink resolves through `url_to_postid()` is supported,
including CPTs registered by other plugins or themes.

### Does it work with Elementor?

Yes. Elementor stores its page content as JSON in the `_elementor_data` post meta
rather than in `post_content`, so the plugin searches and replaces inside that data
as well — decoding it, replacing the text safely, re-encoding it, and saving. After
a live run it regenerates Elementor’s cached CSS so the change appears on the front
end. Other page builders that keep content in their own storage are not covered.

### Will my revisions be modified?

No. Revisions, auto-drafts, and trashed posts are skipped.

### How do I undo a replacement?

There is no automatic undo. Always take a full database backup before running a 
live replacement, or use **Dry Run** first to verify the impact.

### Where are results stored?

The most recent results are stored in a short-lived per-user transient (15 minutes)
solely so the CSV export endpoint can stream them.

### What is the Activity Log?

A persistent, on-screen audit trail of every page changed by a live replacement.
Each entry records the page title, post ID, post type, resolved URL, replacement
count, the user who ran it, and the timestamp, with View and Edit links. It keeps
the 200 most recent updates (older entries are pruned automatically) and survives
across sessions. Dry-run previews are never logged, since nothing is written to 
the database. It is stored in a single capped option and can be emptied with **Clear
log** — clearing the log deletes only the log, not the underlying content changes.

### What happens to my data when I uninstall the plugin?

The plugin cleans up after itself. Deleting it from the **Plugins** screen removes
everything it stored in the database: the activity-log option and every per-user
results/state transient (on multisite, this runs for each site in the network). 
The actual content changes made to your posts are intentionally left in place, since
those are real edits to your site rather than plugin data.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Replacely – Bulk Content Find & Replace by URLs〉的開發相關
工作。

參與者

 *   [ Ankur Patel ](https://profiles.wordpress.org/ankur2194/)

[將〈Replacely – Bulk Content Find & Replace by URLs〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/replacely)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/replacely/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/replacely/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/replacely/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/replacely/)。

## 變更記錄

#### 1.0.4

 * Renamed the plugin to “Replacely – Bulk Content Find & Replace by URLs” and standardized
   internal prefixes, namespace, and admin asset identifiers. No user-facing functional
   change.
 * Hardened the CSV export against spreadsheet formula injection.

#### 1.0.3

 * Added: replacement counts are now broken down by source — classic post content
   vs. Elementor content — across the results summary tiles, the results table, 
   the “pages updated” panel, the activity log, and the CSV export.

#### 1.0.2

 * Fixed: dashicons in the Copy Results, Export CSV, View, and Edit buttons are 
   now vertically centered with their button labels.

#### 1.0.1

 * Added: clean uninstall. Deleting the plugin now removes the activity-log option
   and all per-user results/state transients from the database (multisite-aware),
   leaving no plugin data behind. Content changes are preserved.

#### 1.0.0

 * Initial release.

## 中繼資料

 *  版本 **1.0.4**
 *  最後更新 **3 週前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 7.2 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/replacely/)
 * 標籤:
 * [bulk edit](https://tw.wordpress.org/plugins/tags/bulk-edit/)[content](https://tw.wordpress.org/plugins/tags/content/)
   [find and replace](https://tw.wordpress.org/plugins/tags/find-and-replace/)[search replace](https://tw.wordpress.org/plugins/tags/search-replace/)
   [urls](https://tw.wordpress.org/plugins/tags/urls/)
 *  [進階檢視](https://tw.wordpress.org/plugins/replacely/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/replacely/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/replacely/reviews/)

## 參與者

 *   [ Ankur Patel ](https://profiles.wordpress.org/ankur2194/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/replacely/)