[Plugin: Duplicator] Skip wp-config.php overwrite
-
Thanks to inTheGrid … an excellent job you did … and the plugin really works ??
Though, one things pops up in my own setup.
I create locally and then deploy to production. Therefore I adjusted my wp-config.php to check whether it is running locally or on the production server
if ($local){define('DB_NAME', 'local_db_name');}else{define('DB_NAME', 'server_db_name');}
So when I restore a backup from the server installer asks me
1) to either empty the complete root directory of my installation or at least delete wp-config.php … which I don’t like to do for obvious reasons ??
2) take db name and user data to log into my mySQL database AND also to overwrite my wp-config.php
So I end up with:
if ($local){define('DB_NAME', 'local_db_name');}else{define('DB_NAME', 'local_db_name');}
Is there somewhere an option in the installer process to skip overwriting wp-config.php?
regards
Heinz
- The topic ‘[Plugin: Duplicator] Skip wp-config.php overwrite’ is closed to new replies.