Connecting WordPress settings to domain

There may be a problem with the actual production database values for siteurl and home. Depending on your host and url rewrite rules and installation you probably need to make sure the values start with the protocol, http:// or https://.

WordPress behind HAproxy

I found your post by looking for a fix similar, I have haproxy set up and I’m trying to install wordpress on a backend server as well. I found this page: https://www.wpbeginner.com/plugins/how-to-fix-the-mixed-content-error-in-wordpress-step-by-step/ that details some HTTPS settings you can change in the wordpress settings that should fix it. For haproxy looking at your config you … Read more

Updating wp-config.php but it doesnt seem to exist

There is one in the file directory up That is your wp-config.php, WordPress can look one folder up so that you can place the file in a folder that’s not served to the web. This is done as a security measure. it doesn’t provide any of the usual details wp-config.php is still a PHP file, … Read more

Can WP-CLI modify database connection details in existing wp-config file?

You can use wp config set to update any existing value in wp-config or to add a new value: wp config set DB_NAME some_db_name wp config set DB_USER some_db_username wp config set DB_PASSWORD you_secret_value_pass See https://developer.wordpress.org/cli/commands/config/set/ Keep in mind that values are case sensitive, so if you do wp config set db_name some-db, it will … Read more