Skip to content

Introduce a dedicated search-replace url command #186

Description

@danielbachhuber

The primary usage of wp search-replace is to update URLs in the database. However, URLs can be stored in various forms in the database (e.g. serialized into JSON), which means they're missed by wp search-replace.

We don't really want to change the behavior of wp search-replace, lest the sky fall down on our head. However, we could introduce a wp search-replace url command that handled the edge cases of URL formatting (serialized, http vs. https, etc.).

If we want to introduce this command, we'd first want to document these permutations of how URLs are stored. Afterwards, we could develop the command in a test-driven manner.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions