Search and Replace Tool - Help Guide

CAUTION: Searching is always safe, but you should use the Replace functionality of this tool carefully as it can cause permanent project corruption if mistakes are made!

With a Replace, you will see Search results first, then have a chance to confirm the replacement, or not.

A full database backup is strongly recommended before executing a replace.

Overview

The Search and Replace tool allows you to find and replace text across multiple pages and content types on your website. This powerful tool helps maintain consistency and make bulk updates efficiently.

How to Use

  1. Search Term
  2. Replace Term (Optional)

  3. Limit to Fields (Optional)

    If you want to restrict the search to specific fields, enter them as a comma-separated list. For example: "body,title,field_description" (without quotes). Leave blank to search all fields.

  4. Moderation States (Optional)

    To limit the search to content in specific moderation states, enter them as a comma-separated list. For example: "draft,published" (without quotes). Leave blank to search only the 'published' state.

  5. Perform Search

    Click the "Search" button to find all fields in all entities (pages) that contain >0 matches for your search terms.

  6. Review Results
  7. Confirm Replacement

    If you specified a replacement term and you're satisfied with the search results and want to proceed with the replacement, click the "Confirm Replacement" button. This will replace all found instances of the search term with the replacement term, and provide an accounting of the replacements. Note: Due to content sharing, replacement results may not match search results exactly, this is normal/expected.

Important Notes

Tips

Troubleshooting