ee site delete
command reads database name from wp-config.php
file. So even if database name is not changed, delete command can drop database.
For more details - https://rtcamp.com/easyengine/docs/commands/site/delete/
ee site delete
command reads database name from wp-config.php
file. So even if database name is not changed, delete command can drop database.
For more details - https://rtcamp.com/easyengine/docs/commands/site/delete/
Hey there,
Thank you for your great support. Actually, I’ve done everything you mentioned above but cannot solve the problems yet. It still showing ‘welcome to nginx server’.
wordpress : Installed wordpress 3.9.1 multisite + w3 + nginx helper.
Have just 1 site. Didn’t activate sunrise yet.
define(‘WP_HOME’,‘http://example.com’);
define(‘WP_SITEURL’,‘http://example.com’);
update_option(‘siteurl’,‘http://example.com’);
update_option(‘home’,‘http://example.com’);
I cannot get connected to my new domain.
When I trying to get connect to .wp-admin. It said ’ there are redirection error’
And URL looks like this.
COULD YOU PLEASE HELP? My customers are complaining like hell. PLEASE.
@Joshua
It seems like you are facing lots of issues and I hope most of them as been already resolved.
Regarding the domain redirection issue you are facing, I think the domain mapping is not correctly done. Kindly cross check it.
Dear @Mitesh
Thank you very much for your input.
Well, Not a chance yet, still receiving same result. ‘welcome to nginx’. Actually I have no ideas how to reconfigure domain mapping. Could you please show me what is the best solution?
Please advice,
Josh.
ee site delete example.com --all
I didn’t perform this command yet. Should I do that? Everything has been copied to new folder named with new site name.
Actually I have no ideas how to reconfigure domain mapping. Could you please show me what is the best solution?
Domain mapping guide: https://rtcamp.com/wordpress-nginx/tutorials/multisite/domain-mappinng/
ee site delete example.com –allI didn’t perform this command yet. Should I do that? Everything has been copied to new folder named with new site name.
Did you import example.com database to new site?
If yes and you don’t need example.com files/database then you can delete that using
ee site delete example.com --all
command
I see that this topic is quite old, but it is the most relevant to the issue I’m having.
I spun up a new WordPress website using Easy Engine. The new website was set up using one domain (EXAMPLE.NET), for a client who has his live website up and running on EXAMPLE.COM
As far as the domains go, only the TLDs are different.
Structurally, the new website will be running WordPress MU and the old website is running on the standard version. To avoid any potential complications, I’ve manually imported all the content (posts, pages & media). I’m ready to modify the DNS of EXAMPLE.COM to point it to the new server’s IP Address, but I need to make sure my new “Easy Engine” server is ready.
So I have a couple questions, regarding these steps:
I find it hard to believe a system as robust as Easy Engine, doesn’t have a built-in command to accomplish Domain Name Changes.
It looks like the URL may have changed to:
https://rtcamp.com/easyengine/docs/commands/site/ee-site-delete/
So, in this instance, wouldn’t the better command be:
ee site delete example.com --files
…which would leave the Database intact, for use by the newly created mydomain.com
Hello, I builded an client on digitalocean using ee site create example.com --wpfc with the mysql db on an other machine. Now I would like to duplicate my client in order to have two clients with the same configuration but when i follow this istructions the new client give me the “Welcome to nginx!” page. How can i fix it?
Best regards
Hi I followed the above steps But got stuck at ee site enable mydomain.com I get error message site mydomain.com does not exist where as if i do cd /var/www/mydomain.com i can see all my files moved from example.com
You forgot to copy the new entry in sites-available to sites-enabled.
That fixed the ‘welcome to nginx’ issue for me.
yea this does not work. Making a copy of sites-available to sites-enabled does nothing… Any ideas?
ee site create newsite.com --wp
cd /var/www/newsite.com/htdocs
rsync -vaz /var/www/oldsite.com/htdocs/ .
mysqldump oldsite_com > oldsite_com.sql
mysql newsite_com < oldsite_com.sql
wp option set home http://newsite.com
wp option set site_url http://newsite.com
ee site delete oldsite.com
That’s it, basically.
Of course you have to make sure both blogs use same database prefix, or make adjust on wp-config.php
for the new site.
If only the sitename should be changed and the server should not be changed, you can do it without moving htdocs and mysql. You have just to rename webroot-dir and nginx-config-file and then update the ee-database. I use a simple shellscript for that from time to time:
If someone likes it…here is the script on pastebin:
great job, it works but it redirect the url to old site on multisite.
how to use that script ? thank you (solved)
How can I use this shell and how i add my old and new url?