wp-config.php Generator
Fill in your database credentials, choose a table prefix and download a complete, hardened wp-config.php with fresh salts and security constants pre-configured.
Free · No credit card · 50 credits/day
Security constants included
| Constant | Value | Effect |
|---|---|---|
| DISALLOW_FILE_EDIT | true | Disables Appearance → Theme Editor and Plugins → Editor in wp-admin |
| DISALLOW_FILE_MODS | true | Blocks plugin and theme installation, updates and deletion from wp-admin |
| FORCE_SSL_ADMIN | true | Forces wp-admin and wp-login.php over HTTPS regardless of request URL |
| WP_DEBUG | false | Suppresses PHP error output (file paths, credentials) from public display |
| WP_AUTO_UPDATE_CORE | true | Enables automatic minor security updates (e.g., 6.4.1 → 6.4.2) |
| WP_POST_REVISIONS | 5 | Limits stored post revisions to 5 — reduces database bloat |
Frequently asked questions
Related WordPress tools
Complete your WordPress security setup.
Start every install with a hardened config
Free account. 50 credits per day. Access to 75+ tools instantly.
Create free account →