More wp-cli notes

This commit is contained in:
Jonathan Rosenbaum 2025-06-14 22:25:06 +00:00
parent 5563b5a3b3
commit f53e751901

View File

@ -136,6 +136,12 @@ chmod -R [appropriate-permissions] wp-content/
### **5⃣ Optional: Database Updates for web address change** ### **5⃣ Optional: Database Updates for web address change**
```bash ```bash
./update-db ./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"
``` ```
--- ---