WordPress wp-config.php Generator

Generate a secure wp-config.php file with fresh salts, debug toggles, memory settings, and WordPress hardening options.

WordPressSalts: 0

Database Settings

Environment & Debug

WP_DEBUG
Enable PHP error reporting for WordPress.
WP_DEBUG_LOG
Write errors into wp-content/debug.log.
WP_DEBUG_DISPLAY
Show errors directly on screen.
SCRIPT_DEBUG
Load unminified core JS and CSS assets.
SAVEQUERIES
Record database queries for debugging.

Security & Limits

DISALLOW_FILE_EDIT
Disable theme and plugin file editing from admin.
DISALLOW_FILE_MODS
Disable plugin and theme updates or installs.
FORCE_SSL_ADMIN
Force HTTPS on admin and login pages.
WP_POST_REVISIONS
Keep only the latest revision history.
AUTOSAVE_INTERVAL
Set autosave to 300 seconds.

Security Keys & Salts

Generated wp-config.php
<?php
/**
 * WordPress wp-config.php
 * Generated by GAP3 Tools
 */

// Database Settings
define( 'DB_NAME',     'wordpress' );
define( 'DB_USER',     'root' );
define( 'DB_PASSWORD', '' );
define( 'DB_HOST',     'localhost' );
define( 'DB_CHARSET',  'utf8mb4' );
define( 'DB_COLLATE',  '' );

// Security Keys & Salts
define( 'AUTH_KEY', '' );
define( 'SECURE_AUTH_KEY', '' );
define( 'LOGGED_IN_KEY', '' );
define( 'NONCE_KEY', '' );
define( 'AUTH_SALT', '' );
define( 'SECURE_AUTH_SALT', '' );
define( 'LOGGED_IN_SALT', '' );
define( 'NONCE_SALT', '' );

// Table Prefix
$table_prefix = 'wp_';

// Debug Settings
define( 'WP_DEBUG',         false );

// Memory Limits
define( 'WP_MEMORY_LIMIT',     '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

// Security Hardening
define( 'DISALLOW_FILE_EDIT', true );
define( 'FORCE_SSL_ADMIN', true );
define( 'FORCE_SSL_LOGIN', true );

/* That's all, stop editing! Happy publishing. */

if ( ! defined( 'ABSPATH' ) ) {
    define( 'ABSPATH', __DIR__ . '/' );
}

require_once ABSPATH . 'wp-settings.php';

Debug Carefully

Only enable WP_DEBUG and SAVEQUERIES on development or staging environments where verbose logs are safe.

Rotate Salts

Regenerate security salts when you need to invalidate all logged-in sessions across the site immediately.

Protect Sensitive Values

Keep production edits in version control and store secrets securely instead of sharing wp-config values in plain text.

Technologies

Our Tech Stack

FigmaFigma
React.jsReact.js
Next.jsNext.js
TypeScriptTypeScript
ShopifyShopify
WordPressWordPress
HTML5HTML5
CSS3CSS3
TailwindTailwind
FramerFramer
FigmaFigma
React.jsReact.js
Next.jsNext.js
TypeScriptTypeScript
ShopifyShopify
WordPressWordPress
HTML5HTML5
CSS3CSS3
TailwindTailwind
FramerFramer
FigmaFigma
React.jsReact.js
Next.jsNext.js
TypeScriptTypeScript
ShopifyShopify
WordPressWordPress
HTML5HTML5
CSS3CSS3
TailwindTailwind
FramerFramer
PHPPHP
GitGit
MySQLMySQL
AWS/VercelAWS/Vercel
IllustratorIllustrator
PhotoshopPhotoshop
SassSass
Node.jsNode.js
StripeStripe
GraphQLGraphQL
PHPPHP
GitGit
MySQLMySQL
AWS/VercelAWS/Vercel
IllustratorIllustrator
PhotoshopPhotoshop
SassSass
Node.jsNode.js
StripeStripe
GraphQLGraphQL
PHPPHP
GitGit
MySQLMySQL
AWS/VercelAWS/Vercel
IllustratorIllustrator
PhotoshopPhotoshop
SassSass
Node.jsNode.js
StripeStripe
GraphQLGraphQL