Automattic / Automattic/go-search-replace

Replacing "subdomain." prefix with empty string ""

Open
#32 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
108
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Have recently come across your wonderful script to cure Wordpress database copies between domains.

Have one more challenge - I just need to replace "staging." subdomain in all urls mentioned in sql file (including serialized PHP objects).

So replacement is just empty string (""). My wordpress installation is multi-site, so there are multiple `subsiteX.maindomain.com` urls as well as `staging.subsiteX.maindomain.com` on staging server.

While migrating from staging to production we need to delete away the "staging." subdomain.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.