All tags
wp-config
Narrow down
Web26
- Tip
ls -ld wp-content wp-content/plugins index.phpFS_METHOD in wp-config stops the surprise FTP prompt on updatesWrites plugin updates directly to disk when ownership allows it.1 Dec 2026 - Tip
define( 'WP_TEMP_DIR', '/var/www/example.com/tmp' );WP_TEMP_DIR in wp-config fixes uploads that fail on a temp folderPoints WordPress at a writable folder for its temporary files.1 Dec 2026 - Tip
define( 'CONCATENATE_SCRIPTS', false );Set CONCATENATE_SCRIPTS false in wp-config when the admin looks brokenLoads admin scripts one by one so you can find the failing file.1 Dec 2026 - Tip
define( 'CORE_UPGRADE_SKIP_NEW_BUNDLED', true );Stop core updates from adding new default themes with one wp-config lineKeeps newly bundled themes from reappearing after you cleaned them out.1 Dec 2026 - Tip
define( 'ALTERNATE_WP_CRON', true );ALTERNATE_WP_CRON in wp-config helps when loopback requests failRuns scheduled posts on hosts where WordPress cannot call itself.1 Dec 2026 - Tip
define( 'MEDIA_TRASH', true );MEDIA_TRASH gives the WordPress media library a trash binMakes deleted media go to the trash first instead of disappearing with its files.30 Nov 2026 - Tip
define( 'WP_DEVELOPMENT_MODE', 'theme' );WP_DEVELOPMENT_MODE theme stops WordPress caching theme.json while you workTells WordPress you are developing a theme so theme.json edits show up immediately.30 Nov 2026 - Tip
define( 'RECOVERY_MODE_EMAIL', '[email protected]' );RECOVERY_MODE_EMAIL sends WordPress crash mails to the person who fixes themSends the recovery mode link to a developer address instead of the site admin email.30 Nov 2026 - Tip
define( 'UPLOADS', 'media' );The UPLOADS constant moves the WordPress media folder out of wp-contentPuts new uploads in a folder of your choice, relative to the WordPress root.30 Nov 2026 - Tip
define( 'WP_DISABLE_FATAL_ERROR_HANDLER', true );WP_DISABLE_FATAL_ERROR_HANDLER shows WordPress fatal errors raw while you developSwitches off the friendly critical error page so you see the actual PHP error.30 Nov 2026 - Tip
define( 'IMAGE_EDIT_OVERWRITE', true );IMAGE_EDIT_OVERWRITE stops WordPress from piling up edited image copiesKeeps one set of edited image files instead of a new set every time you crop.30 Nov 2026 - Tip
wp config list WP_DEBUGwp config list prints what wp-config.php defines, with a filterLists constants and variables from wp-config.php, optionally filtered by name.28 Nov 2026 - Tip
define( 'WP_HTTP_BLOCK_EXTERNAL', true );WP_HTTP_BLOCK_EXTERNAL stops WordPress from calling out to the internetBlocks outgoing HTTP requests from WordPress except to hosts you put on an allowlist.27 Nov 2026 - Tip
define( 'AUTOSAVE_INTERVAL', 180 ); // SecondsAUTOSAVE_INTERVAL in wp-config.php changes how often WordPress autosavesSets the number of seconds between editor autosaves in WordPress.26 Nov 2026 - Tip
define( 'EMPTY_TRASH_DAYS', 60 ); // 60 daysEMPTY_TRASH_DAYS decides how long WordPress keeps your trashSets after how many days WordPress permanently deletes trashed posts, pages and comments.26 Nov 2026 - Tip
define( 'WP_AUTO_UPDATE_CORE', 'minor' );WP_AUTO_UPDATE_CORE decides which WordPress updates install themselvesChooses whether WordPress installs only minor releases, all releases or no core updates by itself.15 Sep 2026 - Tip
define( 'WP_ENVIRONMENT_TYPE', 'staging' );Set WP_ENVIRONMENT_TYPE so plugins know a site is stagingMarks a WordPress site as local, staging or production so plugins and code can behave differently.9 Sep 2026 - Tip
define( 'WP_POST_REVISIONS', 5 );Cap post revisions with WP_POST_REVISIONSLimits how many old versions WordPress keeps of each post so the database stops growing.23 Jul 2026 - Tip
define( 'DISALLOW_FILE_MODS', true );DISALLOW_FILE_MODS locks plugin and theme changes, not just the editorStops anyone from installing or updating plugins and themes in the admin, so a stolen login can do less.15 Jul 2026 - Tip
define( 'WP_DEBUG', true );Log WordPress errors to a file and keep them off the screenWrites WordPress errors to a log file while hiding them from visitors on the page.6 Jul 2026 - Tip
wp config set WP_DEBUG true --rawwp config set WP_DEBUG true --raw edits wp-config.php without opening itSets a constant in wp-config.php as a real true or false value, without hand-editing the file.1 Jul 2026 - Tip
define( 'WP_DEBUG', true );WP_DEBUG_LOG accepts a file path so wordpress can log outside wp-contentWrites the WordPress debug log to a chosen path, which can be outside the public web folder.1 Apr 2026 - Tip
define( 'SAVEQUERIES', true );SAVEQUERIES records every wordpress database query with its time and callerStores each database query with its runtime and calling function for finding slow queries.26 Mar 2026 - Tip
define( 'WP_CACHE', true );WP_CACHE true makes wordpress load wp-content/advanced-cache.php earlyEnables the advanced-cache drop-in that page caching plugins use to answer requests before WordPress loads.26 Mar 2026 - Tip
define( 'WP_MEMORY_LIMIT', '256M' );WP_MEMORY_LIMIT and WP_MAX_MEMORY_LIMIT raise the wordpress PHP memorySets how much PHP memory WordPress asks for, one value for the front end and one for the admin.25 Mar 2026 - Tip
define( 'DISALLOW_FILE_EDIT', true );define DISALLOW_FILE_EDIT to remove the wordpress theme and plugin code editorsRemoves the code editors from the wordpress admin menu so admins cannot edit PHP in the browser.25 Mar 2026
Security1
Network1
Shell1
Nothing matches.