Ability to push to Live but exclude a specific file(s)

We love the Push stage to live feature, but we would like to exclude certain files when doing this, for example wp_config that would keep some of our plugin “registrations” info for the Live site intact and not be overwritten by the Stage Push…

Hi @WuDoo

Welcome to the Kinsta Community!

To clarify, are you referring to the Sync (Push to Kinsta) feature within the DevKinsta app or the Push Staging to Live feature available in the MyKinsta dashboard?

Either way, both should have the option to push specific files/folders only. Please see the screenshots for reference:

MyKinsta Push to Live action
Reference article: WordPress Hosting - Staging Environments - Kinsta® Docs

DevKinsta Sync (Push to Kinsta) action
Reference article: DevKinsta - Kinsta Integration - Kinsta® Docs

I hope the above information helps, please let us know if you have any further questions or clarification.

Hi Adrian!

Thanks for the reply! I do not see the same as your screenshot - I cannot locate / see wp-config.php in any of the dropdown:

Am I missing something?

Thank you.

Hi @WuDoo,

I apologize for the oversight. I reviewed the modal options again, and it appears that while you can indicate specific files to include in the push, there is no option to exclude any files, more specifically the wp-config.php file. This is definitely a valid feature request. Thank you for bringing it to our attention.