COMING SOON! Earn recurring revenue and manage your clients with Flywheel's Growth Suite.

Join waitlist
Menu

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

Updated on May 1st, 2020

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:

 

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:

WP_ALLOW_MULTISITE
WP_MULTISITE
SUBDOMAIN_INSTALL
DOMAIN_CURRENT_SITE
PATH_CURRENT_SITE
SITE_ID_CURRENT_SITE
BLOG_ID_CURRENT_SITE
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 either Simple SSL or with Staging at this time.)
SUNRISE Support for domain mapping (sunrise) 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.
FORCE_SSL_LOGIN
FORCE_SSL_ADMIN
If your site has SSL enabled, we’re happy to enable these options to force SSL connections for logins and administrative functions in WordPress.
DB_CHARSET
DB_COLLATE
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

Billing

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

View all

Features

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

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