Оглавление

↑ наше социальное

Чистый и без комментариев wp-config.php / WordPress

Ничего лишнего — только необходимые поля и функции, без комментариев.

				
					<?php

define( 'DB_NAME', 'database_name_here' );
define( 'DB_USER', 'username_here' );
define( 'DB_PASSWORD', 'password_here' );
define( 'DB_HOST', 'localhost' );
define( 'DB_CHARSET', 'utf8' );
define( 'DB_COLLATE', '' );

/**#@+
 * the {@link https://api.wordpress.org/secret-key/1.1/salt/ }
 */
define( 'AUTH_KEY',         'put your unique phrase here' );
define( 'SECURE_AUTH_KEY',  'put your unique phrase here' );
define( 'LOGGED_IN_KEY',    'put your unique phrase here' );
define( 'NONCE_KEY',        'put your unique phrase here' );
define( 'AUTH_SALT',        'put your unique phrase here' );
define( 'SECURE_AUTH_SALT', 'put your unique phrase here' );
define( 'LOGGED_IN_SALT',   'put your unique phrase here' );
define( 'NONCE_SALT',       'put your unique phrase here' );

$table_prefix = 'wp_';

define( 'WP_DEBUG', false );

if ( ! defined( 'ABSPATH' ) ) {
	define( 'ABSPATH', __DIR__ . '/' );
}
require_once ABSPATH . 'wp-settings.php';

define( 'WP_MEMORY_LIMIT', '256M' );
				
			

Дополнительные поля в файле wp-config.php

Этот код говорит WordPress увеличить лимит памяти PHP до 256мб. Запомните константу WP_MEMORY_LIMIT, она часто будет нужна при увеличении лимита памяти на новом WordPress сайте.

				
					
define( 'WP_MEMORY_LIMIT', '256M' );
				
			

Как с вами связаться?

Как удобнее Вам связаться?