Easy Search Replace – テキスト・HTML・URL の検索と置換、フッタークレジットの削除
Easy Search Replace プラグインは、ファイルやデータベースを編集することなく、WordPress サイト全体のテキスト・HTML・URL をリアルタイムで検索と置換できます。 フロントエンド出力に対して検索と置換を行う最も安全な方法です。ブランドの変更、古いリンクの修正、フッタークレジットの削除が数クリックで行えます。
以下の条件で置換対象を正確に指定できます:
- Post Types (Posts, Pages, WooCommerce Products, any CPT)
- 特定の投稿 ID (カンマ区切り)
- 特定の URL (1 行に 1 つ)
Why it’s safe: All changes are applied dynamically at render time. Your posts, pages, and database stay untouched. Disable the plugin or toggle a rule off and your original content is back instantly.
よくある使用例
- フッタークレジットの削除 — delete or replace any theme footer text, copyright notice, or “Powered by” link.
- Replace company names — rebranding? Update every mention of your old name site-wide in seconds.
- Fix old links — swap broken URLs, redirect HTTP → HTTPS links, or update moved resources.
- WooCommerce text changes — rename “Add to cart” buttons, change checkout labels, or translate WooCommerce strings without code.
- Hide plugin or theme branding — remove “Built with Elementor”, “Jepack stats”, or any injected text.
- Conditional content — show different text to logged-in users, mobile visitors, or during specific date ranges (Pro).
機能
Free version:
- Real-time search and replace for text, HTML, and URLs — no database changes.
- Enable or disable each rule with a toggle (no need to delete and recreate).
- Limit rules by post type, post ID, or URL (one per line).
- Case-insensitive matching (Ignore Case option).
- “Don’t match if page contains” safety switch — add a marker to any page you want to leave untouched.
- Configurable “Skip HTML tags” setting — protect
<script>,<style>, or any tag from being modified. - Multiple rules, executed in the order you define.
- Lightweight: buffer filtering only starts if you have active rules.
Pro features (Easy Search Replace Pro):
- CSS selector targeting — restrict replacements to elements matching
.footer,#main,h1, or any CSS selector. Inspect the element in your browser and paste the class or ID. Perfect for removing footer credits from a specific element without affecting the rest of your page. - Regex patterns — full PHP regex with smart defaults.
.matches newlines and patterns are UTF-8 aware by default. Write<div class="x">.*?unwanted.*?</div>and it just works. - Match text between two markers — replace everything between a “starts with” and “ends with” snippet without writing regex. Safer because it stops at the first end marker.
- Scheduled rules — activate rules only within specific date ranges, times of day, or weekdays. Perfect for seasonal banners, holiday promotions, or timed content swaps.
- Audience & device targeting — show different replacements for logged-in users vs guests, target specific user roles, or serve different content to desktop, mobile, or tablet visitors.
- Exclusion rules — apply a rule everywhere EXCEPT specific post types, post IDs, or URLs.
- Import / Export — export rules as JSON or CSV for backups. Bulk import hundreds of rules at once from CSV for agency migrations.
使い方
- 設定 → Easy Search Replace を開きます。
- 検索: 検索するテキスト・HTML・URL を入力します。
- 置換後の文字列: 置換後の内容を入力します (空欄にすると削除されます — フッタークレジットの削除に最適)。
- (任意) 投稿タイプ、投稿 ID、URL で制限できます (URL は 1 行に 1 つ)。
- 必要に応じて 大文字小文字を無視 を有効にします。
- 複数のルールを追加し、変更を保存します。
Full documentation with examples: fluxpress.io/docs/easy-search-replace
使用例
テキストをサイト全体で置換
検索: Old Company 置換: New Company
フッタークレジットの削除
Find: Powered by MyTheme Replace: (leave empty)
Remove “Powered by WordPress”
Find: Powered by WordPress
Replace: (leave empty)
(Optionally set CSS selector to .site-info in Pro for precision)
URL をサイト全体で置換
検索: http://oldsite.com 置換: https://newsite.com
Change WooCommerce button text
Find: Add to cart Replace: Buy now
特定の投稿のみに適用
検索: Coming Soon 置換: Launching Now 投稿 ID: 25,47,88
大文字小文字を区別しない検索 大文字小文字を無視 を有効にすると「WordPress」「wordpress」などすべてに一致します。
Privacy
Easy Search Replace includes optional anonymous usage tracking to help improve compatibility and the plugin experience.
Disabled by default and only enabled after explicit opt-in.
No personal data, site content, emails, IP addresses, usernames, or passwords are collected.
