Help articles General Questions

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

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?
$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 be enabling the Multisite add-on from the add-ons 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.
WP_CACHE Flywheel offers server-level caching which is automatically configured, without the need to enable WP_CACHE in the config file or install any plugins. Contact Flywheel support if you have a need to enable WP_CACHE.
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.


  • Organizations

    Everything you need to know about managing your team with our Organizations feature.

    8 Articles
  • Blueprints

    Learn everything there is to know about what Blueprints are, how to create them and how to make the best use of them.

    5 Articles
  • Simple SSL

    All there is to know about our free, automatically installed and activated SSL certificates.

    8 Articles
  • Staging

    How to get the most out of Staging, which allows you to duplicate a site, make changes, and then push those changes to the live site.

    6 Articles
  • Local by Flywheel

    Everything you need to know about our amazing, free local WordPress development software for Mac and PC.

    5 Articles
  • White Label

    Everything you need to know about our Whitelabel subscriptions for branding and reselling Flywheel.

    4 Articles
  • Getting started

    Everything you need to know to get your first Flywheel site up and running.

    8 Articles
  • Frequently Asked

    The most commonly asked questions, and a few we just think you should know.

    24 Articles
  • General Questions

    Questions that don't fit elsewhere, or those about Flywheel in general.

    56 Articles
  • Billing & Accounts

    Questions relating to payments, billing and managing your account on Flywheel.

    12 Articles
  • Domain Names

    Details about how to manage DNS and point your domain names at Flywheel.

    10 Articles
  • Database

    How to access your WordPress database to make changes and update content.

    3 Articles
  • Security

    Details about everything Flywheel does to makes your site so secure.

    12 Articles
  • Plugins

    Which plugins work best, which plugins work worst, and everything in between.

    7 Articles

Get in touch with us

Standard support hours are M-F 9am-5pm CDT and 24/7 emergency support.

WordPress experts

Try it yourself. It's free & takes less than 60 seconds. Sign up

× How to manage 50+ WordPress Sites

Here's a free ebook!

How to manage 50+ WordPress Sites

Austin Sales Representative
Online

Hey! Austin here!
Can I answer pre-sales questions you have?