define( 'WP_POST_REVISIONS', false ); // Or limit to 3 revisions: define( 'WP_POST_REVISIONS', 3 );
Whether you are a DIY blogger or a professional developer, spending an hour experimenting with wp-config.php tweaks will pay off tenfold in site speed, stability, and security. wp config.php
Editing wp-config.php is a straightforward process but should always be approached with care and with a full backup of your site. Minor syntax errors in the file can cause major site outages. Here are the most common methods for accessing and modifying the file: define( 'WP_POST_REVISIONS', false ); // Or limit to
One afternoon, in the lull between visitors, Aaron opened a file he had left alone because it felt like trespassing. A file named wp-config.php.old—its contents a palimpsest. Within it he found a long string of secret keys. They were garbled into nonsense by the time they'd been archived, but one line remained legible, handwritten in ink: Here are the most common methods for accessing
define( 'WP_MEMORY_LIMIT', '256M' ); define( 'WP_MAX_MEMORY_LIMIT', '512M' ); Use code with caution. Disable or Limit Post Revisions