Skip to content

Cookbook › WordPress

Find and replace a website URL

WordPress2 minutesChangesTested 15 Oct 2026
Paste into ChatGPT or ClaudePreview replacing http://old.example.com with https://example.com without saving changes. Tell me how many matches would change, and wait for my confirmation.

Changes content or settings on your site. See the recipe below for approval requirements. Read only cannot make changes.

  1. Your assistant previews the replacement and reports the number of matches without saving changes.
  2. After your confirmation, it applies the replacement while preserving the format of stored settings.
  3. On large sites, it processes the matches in batches.
  • “Change our old phone number 020 1234 5678 to 020 8765 4321 everywhere.”
  • “How many posts mention ‘summer sale’? Don’t change anything.”
  • Create a backup first. See Back up your site. A site-wide replacement cannot be undone automatically.
  • This covers posts, comments, categories, tags and settings, not custom tables created by other plugins.