File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed
Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ The site you want to migrate was created with the flag `--wpredis`
77
88In our example :
99
10- - new server name is NEW-SRV with IP 10.0.0.1
11- - the previous server is OLD-SRV with IP 192.168.0.1
12- - site domain is mydomain.tld
10+ - new server name is NEW-SRV with IP 10.0.0.1
11+ - the previous server is OLD-SRV with IP 192.168.0.1
12+ - site domain is mydomain.tld
1313
1414## On the previous server (OLD-SRV)
1515
@@ -45,17 +45,10 @@ wget -qO wo wops.cc && sudo bash wo
4545wo stack install
4646```
4747
48- ### Create wordpress site with same domain
48+ ### Create an empty wordpress site with same domain
4949
5050``` bash
51- wo site create mydomain.tld --wpredis
52- ```
53-
54- ### Cleanup default WP database and remove files
55-
56- ``` bash
57- sudo -u www-data -H wp db clean --yes --path=/var/www/mydomain.tld/htdocs
58- rm -rf /var/www/mydomain.tld/htdocs/*
51+ wo site create mydomain.tld --wpredis --vhostonly
5952```
6053
6154### Setup a password-less ssh access between your servers
You can’t perform that action at this time.
0 commit comments