Franco
Regular Pleskian
Hi,
as many of you may know, under the Plesk wordpress toolkit it is possible to clone a website and sync them. I have a need to set a WP website in a dev (or staging) version and a production version and I am evaluating whether it can be used effectively. After having consulted the Plesk documentation I have a few doubts and questions which those of you who tried it can perhaps resolve for me:
Thank you in advance for all your hints.
Regards
Franco
as many of you may know, under the Plesk wordpress toolkit it is possible to clone a website and sync them. I have a need to set a WP website in a dev (or staging) version and a production version and I am evaluating whether it can be used effectively. After having consulted the Plesk documentation I have a few doubts and questions which those of you who tried it can perhaps resolve for me:
- Are all the files sync-ed or is there any special attention to wp-config.php (e.g., for database connection) and possibly others?
- I read that only new or changed files are sync-ed, and existing files which may not exist on the source are not removed on the destination. This can be a problem as themes may get rid of some obsolete files and that's why the recommended upgrade way is to remove the folder and upload/unzip the new versionn of the theme. Assume I have done that on the dev version and I sync it: the production website may have some unnecessary or harming files still present.
- In my case the production website makes use of a Let's Encrypt basic certificate. Any implications in such a dual website setup?
- I read the dev version can be setup not to be publicly available by setting up a password. I am instead (or in addition) thinking not to point a DNS A record to it and have it in my hosts file only. Would the sync and all the rest work?
Thank you in advance for all your hints.
Regards
Franco