Skip to content

Instantly share code, notes, and snippets.

View zesty-tswann's full-sized avatar
🏠
Working from home

zesty-tswann

🏠
Working from home
View GitHub Profile
@zesty-tswann
zesty-tswann / wp-config.php
Created October 21, 2021 08:42 — forked from MikeNGarrett/wp-config.php
All those damned wp-config constants you can never remember.
<?php
// PHP memory limit for this site
define( 'WP_MEMORY_LIMIT', '128M' );
define( 'WP_MAX_MEMORY_LIMIT', '256M' ); // Increase admin-side memory limit.
// Database
define( 'WP_ALLOW_REPAIR', true ); // Allow WordPress to automatically repair your database.
define( 'DO_NOT_UPGRADE_GLOBAL_TABLES', true ); // Don't make database upgrades on global tables (like users)
// Explicitely setting url