Custom wp-config.php Path in BerqWP

With the release of BerqWP v2.2.42, you can now set a custom path for your wp-config.php file using a new constant. This is especially useful if your wp-config.php file is not located in the default directory.

How to Set It Up

  1. Open your existing wp-config.php file in your WordPress installation.
  2. Add the following line anywhere before the line that says /* That’s all, stop editing! Happy publishing. */:
    define( ‘BERQWP_WP_CONFIG’, ‘/full/path/to/your/wp-config.php’ );
    Replace /full/path/to/your/wp-config.php with the actual path to your custom wp-config.php file.
  3. Save the file and upload it back to your server if you edited it locally.

Why Use This?

  • Custom Directory Structure: If you move your wp-config.php file outside the root directory for security or organizational reasons, BerqWP can now easily locate it.
  • Improved Compatibility: Ensures BerqWP works seamlessly in advanced or customized WordPress setups.

Need Help?

If you have any issues or need assistance, feel free to contact support.

Offload Performance Headache to BerqWP

No configurations
Built for non techies
100% risk free
BerqWP v4 Dashboard