Posts Tagged "tip"

Automatic nginx virtual subdomains with sub-folders or sub-directories

»Posted by on Oct 21, 2010 in Blog | 4 comments

I have a small linode VPS. linode is excellent btw, especially when it comes to upgrading the plan over time. I am not sure if other VPS providers like slicehost do, but when I first checked out linode the plan was 12GB space and 368MB RAM. Now I have a 16GB and 512MB VPS for the same $19.95 price. The yen – dollar exchange rate also helps ;) The common wisdom is that for small VPSes you should run nginx since it is just more efficient than Apache. I also liked trying out new things so that’s what I did. There is a guide out there which was very helpful but I have a lot more experience with apache and its configuration. The guide didn’t help with the below problem. When I researched about automatic virtual subdomains with subfolders I...

read more

How to create a single wp-config file for local and remote WordPress development

»Posted by on Jan 28, 2010 in Blog | 3 comments

If you are developing WordPress sites, themes or plugins, you probably know that setting up a local development environment can speed things up immensely. The easiest way is to use XAMPP or MAMP. I prefer XAMPP by the way as it is available on Windows, Mac OSX and Linux.  Installing XAMPP gets you most of the way to headache free WordPress development, the rest is setting up your local server/virtual servers so that it as closely mirrors your remote set-up as possible. However, some settings like blog address are held in the database which makes mirroring local development and remote production servers a little tricky. If you just backed up the database on the remote set-up and imported it to your local XAMPP server through phpMyAdmin then WordPress will still...

read more