I need to move a development site (developed live on the server) to a live site, same server, so it’s really just a URL and root directory name change
I typically would export the DB and change the URL in a text editor, then upload the files and configure nginx. Just wondering if with EE there might be an easier way?
The current beta site url is new.example.com and the live site will just be example.com Here is what I am thinking is best with an ee stack and an ee site create WP NGINX FAST CGI site, please let me know if there is a better way:
- Rename the directory in /var/www/ from new.example.com to example.com
- edit the wp-config file with new site url name
- export current DB and replace old url with new url
- Import edited sql into
- Change DB name