Skip to content

How-to Guides

Technical References

VIP Codebase /

/vip-config directory

The /vip-config directory contains a file named vip-config.php. This is where to put things usually found in wp-config.php. Not all settings can be changed, as we have optimized certain aspects of the WordPress install, but it is handy if you need to define something like an API key or secret, or issue a very early redirect.

Note that most of WordPress is not available when this file is loaded. Code should be limited to pure PHP. Inclusion of WordPress functions or plugin defined functions will most likely result in a fatal error for an undefined function.

Caution

We highly recommend that any (and all) changes to vip-config.php be tested in a non-production environment before deploying to production, since fatal errors or syntax errors in this file will likely make an entire site or multisite become unavailable.

Last updated: December 22, 2020