Hi all,
I have a site with domain name xxxxxxx.NET and now I would like to change it to xxxxxx.COM … Is there an easy way of doing this ? Or should I start renaming folder names and replacing the .net in all the config files ?
Thanks, Lex
Hi all,
I have a site with domain name xxxxxxx.NET and now I would like to change it to xxxxxx.COM … Is there an easy way of doing this ? Or should I start renaming folder names and replacing the .net in all the config files ?
Thanks, Lex
Lex,
If you haven’t done this before and want a straightforward process with less risk of messing up:
Go to /var/www/xxxxxxx.NET and move wp-config.php file inside htdocs ($ mv wp-config.php htdocs/)
Create the new domain site via EasyEngine (ee site create xxxxxxx.COM --wp)
Go to /var/www/xxxxxxx.COM/ and delete the wp-config.php file ($ rm wp-config.php)
Go to /var/www/xxxxxxx.COM/htdocs/ and delete all contents ($ rm -rf *)
Create a package of xxxxxxx.NET using Duplicator plugin (https://wordpress.org/plugins/duplicator/)
Download package zip and installer.php files created by Duplicator, then FTP upload these files to /var/www/xxxxxxx.COM/htdocs/ via FTP
Go top xxxxxxx.COM/installer.php and follow instructions
Check that everything works fine before deleting xxxxxxx.NET
Done. Duplicator takes care of necessary permalink and database changes.
EDIT: See new step 3 (Remember to delete the wp-config.php file from when you created the xxxxxxx.COM site as you won’t need it. Place your proper wp-config.php here instead).