I'm runnning this command;
sudo -u www-data wp search-replace www.siteurl www.newsiteurl --recurse-objects --skip-columns=guid --skip-tables=wp_users
From command line: 3.456 replacements From bash-script: 0 replacements
the line in the bash script:
wp search-replace ${OLD_URL} ${NEW_URL} --recurse-objects --skip-columns=guid --skip-tables=wp_users
I've tried trimming the variables, I've tried ${VAR}
and $VAR
, and even --path=/path/to/site
The output table with details about replacements comes out on both bash and command-line versions. 0 replacements for the bash-script and 3.456 replacements from command line.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745499213a4630334.html
评论列表(0条)