For WordPress development I normally use a local development environment utilizing either XAMPP or WAMP. I then push my files and database to the remote server where the website is hosted.

There are a number of tricks and tips that I have discovered or developed, used and abused that I want to share. This post covers how I setup my /wp-config.php in my WordPress installs.

One of the first thing I do post WordPress install and setup is to use the following code:

This allows me to have a local site setup to develop, and not have to waste time updating settings later when I transfer the site to the production server.

This is a same snippet of code, but really does help out when running a local / remote development environment.