More wp-cli notes

This commit is contained in:
2025-06-14 22:25:06 +00:00
parent 5563b5a3b3
commit f53e751901
+6
View File
@@ -136,6 +136,12 @@ chmod -R [appropriate-permissions] wp-content/
### **5️⃣ Optional: Database Updates for web address change**
```bash
./update-db
or
docker compose exec wpcli_${COMPOSE_PROJECT_NAME} wp option update siteurl "https://mynewwebsite.com"
docker compose exec wpcli_${COMPOSE_PROJECT_NAME} wp option update home "https://mynewwebsite.com"
```
---