Replacing "subdomain." prefix with empty string ""
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
No source file or test is named in the issue. Start at the script's URL-replacement entry point and trace how it handles serialized PHP objects and multisite URLs; verify the staging. prefix can be removed from every matching URL without corrupting serialized data.
Written by the indexing model from the issue text.
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.
- Dominant language
- Go
- Stars
- 108
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Automattic/go-search-replace
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Automattic/go-search-replace#55 · 1 comment · 2 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Automattic/go-search-replace#36 · 5 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
Automattic/go-search-replace#35 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in Automattic/go-search-replace
Similar issues
-
automation models
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Bug pulumi/pulumi
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
stripe/stripe-cli#2130 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kovidgoyal/kitty#10625 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 6 days