Plugin of the Week – 10/14/2016 – WP Config File Editor

Editing Your WP Config File Made Easy

The most important file in your WordPress installation is most likely going to be your WP Config file. This one file, wp-config.php which is installed be default houses the credential for your blogs access to the server. Among these credentials include your account username, password, WordPress security Keys, and a host of other information that WordPress uses in order to function properly.

Losing this one file causes a number of problems, from the simplest being the site goes down to word there is abreach of your database that houses even more secure information such as user account passwords.

As the WP config file is the most portant part of WordPress, it would make sense that you should do a few things to make sure this file is well taken care of.

 

Securing Your WP Config File

One of the very first things that you can do with this file is to move it up (back) one directory on your web-hosting account. This file normally resides within the main public_html file (where your WWW access / HTML files reside).

IMPORTANT NOTE: This step differes for sites hosted in subfolders or if you are hosting more then one blog with a domain name, such as host.com/blog1 and host.com/blog2, as this could overwrite existing wp config files. Please consider this type of issue when moving any files. 

You can either login to your CPanel File manager and drag and drop this file to the parent location) outside of the Public_html folder. If you do not have CPanel, this can also be done using any standard FTP client, such as FileZilla.

WordPress  will look for the file in that user accounts root folder when installed as the main site.

Here is a debate over whether or not to move the WP confid file.

 

But What Does all this have to do with WP Config File Editor?

The reason this file is so important is because what it can do for your WordPress site. There are a host of features and functions that can be controlled and modified by edding commands into this file.

Let’s forget about the fact that the site wide user credentials are stored there. Let’s forget that the WordPress Security keys are stored there. IF that’s all you new about the WP config file then you are on the par with most WordPress users.

So what can be done with this WP config file?

Well for started here’s a brief list of some of the things that you can adjust here in WP Config:

  • Adjusting the table_prefix
  • Changing the WordPress address (URL)
  • Changing Blog address (URL)
  • Moving your sites wp-content folder
  • Moving the plugin folder locations
  • Moving site themes folder
  • Changing your file uploads folder
  • Modifying WordPress AutoSave Interval
  • Changing Post Revisions settings
  • Enabling Cache
  • Disable/Enable Cron (timed events)
  • Disable Automatic Security Updates
  • Override Default File Permissions. 

Take note of the items in red. These alone could pose serious security risks for any WordPress site. In all likelihood you might not have even known any of these things were possible with this one file and this is not a complete list either.

It would take a ton of reading, time learning all the ins and outs of this one file just to know everything you can do with it. The WordPress oage detailing most of the options that this files covers is a book unto itself, you can check it out here: Editing wp-config.php.

But it can be tedious to have to constantly refer back to this time and time again, for those of us who don’t have it memorized. Hell I am a programmer by trade and even I don’t remember every option in programs I write (that’s what documentation is for, right?)

 

Enter The WP Config File Editor Plugin

But this handy dandy plugin helps avoid much of that. In short this plugin allows you to easily edit your WP config file from within your WordPress blog itself. The core WordPress behavior and advanced system features can be enabled or disabled with the easy of entering field into a form.

 

WP Config File Editor

Version: 1.6.1
Author: Ahmed Said
Last Updated: 9/15/2016
Requires: 4.0+ or higher
Compatible up to: 4.6.1
Average 5-Star Rating: 4.3

 

wp config editor panel sample imageFrom WP Config File Editor Author

Modify WordPress Memory, Cache, Upgrade, Post, Localization, Cron, Multi Sites, Database, Secure Keys, Debugging, Proxy and Cookies constants values allocated in wp-config.php file using web form or even through Raw Editor.

Preview generated wp-config file into Syntax Highlights and Error detection PHP Code Editor, before writing to wp-config.php.

In additional to modifying WP Config File parameters using web form, its also possible to preview generated wp-config file before saving, review and makes updates before saving.

WCFE Plugin start to include few helpers tools related to wp-config.php file editing like Setup Multi Sites.

Setup Multi Site Wizard feature is newly added to make setup Multi Sites more fun by passing only 2 steps without any technical skills.

Additionally its possible to modify wide system parameters, Image Quality, Upload allowed mime types, Query Vars, HTTP Client, Post Editor and Kses module.

 

The WP config file editor plugin allows for several main category of options to be adjusted from within your admin panel, these are:

  • wp-config.php Editor Features
  • Use a web based form to modify and wp config information, including wp config backup abd restoration, Multisite Setup Wizard, memory allocation, WP Security settings, updates, cron, file paths and much more.

  • System Parameters features
  • Configure WordPress editors, modules, and external server access for plugins.

 

Some of the many different fields and functions that can be modified using the WP config File Editor Plugin:

  • Maintenance
    • Wp_Cache
  • Security
    • Disable Plugin Security, Force SSL
  • Upgrade
    • Disable Auto Updates, FTP controls, Disable Plugins
  • Post
    • Change Auto Save interval, Disable Post Revisions
  • Localization
    • WordPress Language Control
  • Cron
    • Disable/Enable Cron functions
  • Multi Site
    • Configure MultiSite, Control Blog Path, BlogID
  • Database
    • Control Dabata Settings such as DB name, Users, Passwords
  • Security Keys
    • Setup and Control Auth Key, Logged In User Key, WordPress Salts
  • Debugging
    • Control WordPress Debuging feature
  • Proxies
    • Setup Host Proxy features
  • Cookies
    • Control user Cookies / HASH for logged in users

Along with Miscellaneous System Parameters supported fields

  • HTTP Request
    • Control Http request info such as User Time out, User Agent (browser), SSL verification
  • Editor
    • Ednable/Disable Auto Paragragh, hide media buttons, edit CSS class, and more
  • Function Reference/wp kses
    • Manage allowed HTML elements for site posts.

 

This plugin can be used to tweak the hell out of your WP Config file. This keep all of these features in one easy to access place. A dozen different panels with pretty much anything you as an WordPress blog administrator could need to ever manage. While most of these options are not likely to be used by the average WordPress blog, those power users among you will love the options that WP Config Editor offers. A great tool to add to your arsenal.