Skip to content

Commit 436ea49

Browse files
authored
Swapped out the .dev Google TLD for the .test RFC protected domain in doc examples
Google owns and sells the `.dev` TLD, and .dev domains have strict HSTS enforcements, so use `.test` instead which is protected by an RFC, and has no restrictions on what kind of IPs it can be mapped to
1 parent 3e5b969 commit 436ea49

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ change primary key values.
122122
**EXAMPLES**
123123

124124
# Search and replace but skip one column
125-
$ wp search-replace 'http://example.dev' 'http://example.com' --skip-columns=guid
125+
$ wp search-replace 'http://example.test' 'http://example.com' --skip-columns=guid
126126

127127
# Run search/replace operation but dont save in database
128128
$ wp search-replace 'foo' 'bar' wp_posts wp_postmeta wp_terms --dry-run
@@ -131,17 +131,17 @@ change primary key values.
131131
$ wp search-replace '\[foo id="([0-9]+)"' '[bar id="\1"' --regex --regex-flags='i'
132132

133133
# Turn your production multisite database into a local dev database
134-
$ wp search-replace --url=example.com example.com example.dev 'wp_*options' wp_blogs
134+
$ wp search-replace --url=example.com example.com example.test 'wp_*options' wp_blogs
135135

136136
# Search/replace to a SQL file without transforming the database
137137
$ wp search-replace foo bar --export=database.sql
138138

139139
# Bash script: Search/replace production to development url (multisite compatible)
140140
#!/bin/bash
141141
if $(wp --url=http://example.com core is-installed --network); then
142-
wp search-replace --url=http://example.com 'http://example.com' 'http://example.dev' --recurse-objects --network --skip-columns=guid --skip-tables=wp_users
142+
wp search-replace --url=http://example.com 'http://example.com' 'http://example.test' --recurse-objects --network --skip-columns=guid --skip-tables=wp_users
143143
else
144-
wp search-replace 'http://example.com' 'http://example.dev' --recurse-objects --skip-columns=guid --skip-tables=wp_users
144+
wp search-replace 'http://example.com' 'http://example.test' --recurse-objects --skip-columns=guid --skip-tables=wp_users
145145
fi
146146

147147
## Installing

0 commit comments

Comments
 (0)