Defaults wp-config

If your webserver is "w123c2" , this should be the default wp-config code.
Please note the "123" in the code below and change accordingly.
If your webserver ends with "c3", please read the whole instruction further on this page.



// Do not change this as it will disable the CDN
define( 'MANAGEDWPHOSTING_MEDIA', '123' );
define( 'MANAGEDWPHOSTING_FF', 'ff170c2.wpsslnode.com' );

// SSL
if (  isset($_SERVER['HTTP_X_FORWARDED_PROTO'] ) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') {
        define( 'FORCE_SSL_ADMIN', true );
        $_SERVER['HTTPS']='on';
}

define( 'UPLOADS', 'wp-content/uploads' );

///define( 'DISABLE_WP_CRON', true );  ### Do not worry, we use a real cron for this which is way better!




/*
ManagedWPHosting code below
*/

define( 'FS_METHOD', 'direct' );

/*
Your custom code below
*/


/*
Stop editing your custom code! Leave all code below as is
*/

There is one other syntax , which only applies if your webserverver ends with "c3".
Example: "w456c3".
Then add this line as well.

define( 'MANAGEDWPHOSTING_CLUSTER', '3' );

Leave a Comment