Join our agency partner program for access to exclusive resources and referral benefits.


How do I make changes to my wp-config.php file?

Updated on September 3rd, 2021

Flywheel locks down your wp-config.php file and doesn’t allow changes to be made directly to it. We do this for several reasons: for security, because it gets auto-generated by our software, and because most everything you’d want to do there automatically gets configured for you.

Settings you can change yourself via the Flywheel dashboard:


WP_DEBUG You can easily switch debug mode on and off on the Advanced tab. More information in the article: How do I turn on WP_DEBUG?
WP_CACHE If you’re using a persistent caching plugin like WP Rocket, you can enable WP_CACHE in your config file from the Advanced Tab. More that here: How do I enable WP_CACHE?
$table_prefix Change your table prefix on the Advanced tab under Database. More information in the article: How do I change the table prefix in my wp-config.php file?

Common settings that Flywheel support can turn on and/or configure for you:

Installing and configuring multisite is handled automatically by enabling Multisite from the Advanced tab of a site’s Flywheel dashboard. (Note that multisite is not compatible with Staging at this time.)
SUNRISE Older multisite installations may require support for domain mapping (aka Sunrise). This is enabled automatically when setting up multisite (as long as you check the proper box). You may need to place the sunrise.php file in the proper directory yourself, however. See the directions for the domain mapping plugin for more information.
If your site has SSL enabled, we’re happy to enable these options to force SSL connections for logins and administrative functions in WordPress.
If you need to change the Charset or Collation that WordPress uses, contact support and we can update these values for you. Note: this is sometimes necessary for migrating sites from old versions of WordPress.
WPLANG Name of the language translation (.mo) file that you want to use. If you’re working in English, you can leave this blank. If you’re working in a language other than English, you can look up your language code, and then contact Flywheel support to have us change the value. More information in the article: WordPress in another language?

If there are other settings you need added to your wp-config.php file, please contact Flywheel support and we’d be happy to help out.

Was this article helpful?

Getting Started

New to Flywheel? Start here, we've got all the information you'll need to get started and launch your first site!

View all

Account Management

Learn all about managing your Flywheel user account, Teams and integrations.

View all


Everything about billing, invoices and payments can be found here.

View all


Flywheel hosting plans include a ton of great features. Learn about how to get a free SSL certificate, set up a staging site, and more!

View all

Platform Info

All the server and setting info you'll need to help you get the most out of your Flywheel hosting plan!

View all

Site Management

Tips and tricks for managing your sites on Flywheel, including going live, troubleshooting issues and migrating or cloning sites.

View all

Growth Suite

Learn more about Growth Suite, our all-in-one solution for freelancers and agencies to grow more quickly and predictably.

View all

Managed Plugin Updates

Learn more about Managed Plugin Updates, and how you can keep your sites up to date, and extra safe.

View all


Flywheel help

Help is just a click away! Log into the Flywheel dashboard to instantly chat with an expert, open a ticket, or follow along with in-depth documentation. We happily offer support 24 hours a day, 7 days a week, 365 days a year!

Log in

Try Flywheel today

Launch your next WordPress site in minutes.

 Free migrations  24/7/365 support  14‑day demo sites