Skip to content

/vip-config directory

The /vip-config directory contains a file named vip-config.php. Settings usually found in wp-config.php (such as domain redirects) should be added to this file instead. Not all settings can be changed, as VIP has optimized certain aspects of the WordPress install.

Most of WordPress is not available when this file is loaded. Including WordPress or plugin-defined functions will most likely result in a fatal error for an undefined function. Limit code in this file to pure PHP.

Define API keys and secrets by setting environment variables with VIP-CLI. Do not store API keys and secrets in vip-config.php.


All updates made to vip-config.php should be tested in a non-production environment before deploying to production.
Fatal or syntax errors in this file will likely make an entire site or multisite unavailable.

Last updated: August 03, 2023

Relevant to

  • WordPress