From 3e9feb3fb86aa763793ca77e9aa292e007c2efd3 Mon Sep 17 00:00:00 2001 From: Sander van Dragt Date: Tue, 16 Jan 2024 16:15:25 +0000 Subject: [PATCH] Update launching-a-site-on-altis.md The all-tables, url and network arguments conflict with one another. --- other-docs/guides/launching-a-site-on-altis.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/other-docs/guides/launching-a-site-on-altis.md b/other-docs/guides/launching-a-site-on-altis.md index 00ee555c..086d241f 100644 --- a/other-docs/guides/launching-a-site-on-altis.md +++ b/other-docs/guides/launching-a-site-on-altis.md @@ -120,7 +120,7 @@ When the most updated data has been imported into the database, a search-and-rep The following command would change all entries in the database containing `domain-production.altis.cloud` to `domain.com`. We recommend testing the change first using the `--dry-run` flag to make sure no unexpected tables are affected. ```bash -wp search-replace domain-production.altis.cloud domain.com --all-tables --network --url=domain-production.altis.cloud +wp search-replace domain-production.altis.cloud domain.com --network ``` This step will need to be repeated for any subdomains you have. Be sure to flush the cache when you are done, otherwise the old URLs will still be saved in the object cache. @@ -133,4 +133,4 @@ wp cache flush After the database is updated and the site is ready to go, contact Altis Support to let them know that you are ready for the DNS switch to your new site. -During this period, your temporary production site (e.g. `domain-production.altis.cloud`) will be inaccessible. While the DNS updates are going through, you will want to remove the `require-login` setting in the Altis configuration file unless you have already done so. \ No newline at end of file +During this period, your temporary production site (e.g. `domain-production.altis.cloud`) will be inaccessible. While the DNS updates are going through, you will want to remove the `require-login` setting in the Altis configuration file unless you have already done so.