Hi,
Can I edit or swap the WordPress wp-config file in C: Local Sites\MySite
folder, just like I do via ftp on my web host?
Without screwing up my local site and LBFW up of course?
Thanks
Steve
Hi,
Can I edit or swap the WordPress wp-config file in C: Local Sites\MySite
folder, just like I do via ftp on my web host?
Without screwing up my local site and LBFW up of course?
Thanks
Steve
Yup, you can swap out the wp-config.php
file!
There are just two things to be aware of:
DB_NAME
, etc) remain the samewp-config.php
for HTTPS handling. We’re working on removing the need for this but it’s still required as of writing this./* Inserted by Local by Flywheel. See: http://codex.wordpress.org/Administration_Over_SSL#Using_a_Reverse_Proxy */
if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') {
$_SERVER['HTTPS'] = 'on';
}
Great, thanks for this.
Steve