More wp-cli notes
This commit is contained in:
parent
5563b5a3b3
commit
f53e751901
@ -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"
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
Loading…
x
Reference in New Issue
Block a user