Wp Config.php Now
define( 'FORCE_SSL_ADMIN', true );
// Unique salts (generated from WordPress.org) define( 'AUTH_KEY', '...' ); define( 'SECURE_AUTH_KEY', '...' ); // ... all 8 salts
define( 'WP_ALLOW_MULTISITE', true );
to properly detect HTTPS connections.
The inside your hosting control panel (cPanel, hPanel, etc.). Command-line tools via SSH . 2. Core Components of wp-config.php wp config.php
// Performance define( 'WP_MEMORY_LIMIT', '256M' ); define( 'WP_CACHE', true );
define( 'FORCE_SSL_ADMIN', true );
define('WP_HOME', 'https://example.com'); define('WP_SITEURL', 'https://example.com');
| Constant | Description | |----------|-------------| | DB_NAME | The name of the database where WordPress stores all its content, settings, and user information. | | DB_USER | The database username used to connect to the database. | | DB_PASSWORD | The password for the database user. | | DB_HOST | The database server address. On most shared hosting, this is localhost . On managed or cloud hosting, you might need a specific hostname (e.g., mysql.example.com ). | Command-line tools via SSH
define( 'WP_CONTENT_DIR', dirname(__FILE__) . '/app-content' ); define( 'WP_CONTENT_URL', 'https://example.com/app-content' );