WordPress: Basic Settings in wp-config.php
post-template-default,single,single-post,postid-3973,single-format-standard,ajax_fade,page_not_loaded,,side_area_uncovered_from_content,qode-theme-ver-15.0,qode-theme-bridge,wpb-js-composer js-comp-ver-5.4.7,vc_responsive

WordPress: Basic Settings in wp-config.php

WordPress: Basic Settings in wp-config.php

The main configuration of WordPress is handled by wp-config.php which is responsible for database access, language, API keys, security and more. Anything changed in this file takes direct influence to your site’s settings and appearance.
Settings set in wp-config.php are considered as global and overwrite all parameters in your admin panel.


define('WP_HOME', 'https://www.graef.io'); // Main URL
define('WP_SITEURL', 'https://www.graef.io'); // Site URL

Deactivate Automatic Updates


Disable Filter for Uploads

define( 'ALLOW_UNFILTERED_UPLOADS', true );</pre>
<p>Automatically Empty Recycle Bin</p>

define ('EMPTY_TRASH_DAYS', 7);
define ('EMPTY_TRASH_DAYS', 0);

Deactivate Editor for Themes and Plugins

define( 'DISALLOW_FILE_EDIT', true );

Set Default Theme for WordPress

define( 'WP_DEFAULT_THEME', 'default-theme-folder-name' );
No Comments

Sorry, the comment form is closed at this time.

%d bloggers like this: