We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
以下の問題に近いと思うのですが、bash-wp-deployでも特定条件のマルチサイトでpull -t,push -tともにsearch-replaceが機能しないままデータベースがinport/exportされてしまいます。 https://discourse.roots.io/t/wp-cli-doesnt-work-on-multisite-subfolders/5002
--urlオプションを外すと動作したのであとで置換するという場当たりな対応で凌いでいますが、報告としてIssueたてました。
wp search-replace ${SERVER_URL} ${LOCAL_SERVER_URL} --network > /dev/null wp search-replace ${SERVER_NAME} ${LOCAL_SERVER_NAME} --network > /dev/null
この現象が発生したマルチサイトのconfigは以下の通りです。参考まで
define('MULTISITE', true); define('SUBDOMAIN_INSTALL', false); define('DOMAIN_CURRENT_SITE', 'sample.com'); define('PATH_CURRENT_SITE', '/subfolder/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
以下の問題に近いと思うのですが、bash-wp-deployでも特定条件のマルチサイトでpull -t,push -tともにsearch-replaceが機能しないままデータベースがinport/exportされてしまいます。
https://discourse.roots.io/t/wp-cli-doesnt-work-on-multisite-subfolders/5002
--urlオプションを外すと動作したのであとで置換するという場当たりな対応で凌いでいますが、報告としてIssueたてました。
wp search-replace ${SERVER_URL} ${LOCAL_SERVER_URL} --network > /dev/null
wp search-replace ${SERVER_NAME} ${LOCAL_SERVER_NAME} --network > /dev/null
この現象が発生したマルチサイトのconfigは以下の通りです。参考まで
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'sample.com');
define('PATH_CURRENT_SITE', '/subfolder/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
The text was updated successfully, but these errors were encountered: