Tuesday, January 27, 2015

Using wp-config to Customize WordPress

As you may already know, you can entirely customize the layout of a WordPress website thanks to the different existing themes, and you can even create your own if you want to have a fully personalized website.


That's a good thing, but did you know that the configuration of WordPress itself can also be modified? That's the aim of the wp-config file.


In this article, we will take a look at the wp-config file in order to know what it is, what it contains, and what we can (and must not!) do with it.


What Is the wp-config File?


When I mention wp-config file, I am referring to the file wp-config.php that is located in the root of your WordPress installation. It contains much of the information that WordPress needs to function. If you don't correctly fill this file, your WordPress installation won't work. That means you won't be able to start your website and you could even break your installation by making a mistake in an edit of this file.


To avoid these mistakes, it is important to know exactly what the wp-config file contains. This way, you will be able to modify what you want without taking any risk (but be sure to test your changes locally before sending them on to your server).


Moreover, understanding the wp-config file will allow you to add some parameters, to modify the default behavior of WordPress.


Continue reading %Using wp-config to Customize WordPress%




by Jérémy Heleine via SitePoint

No comments:

Post a Comment