A small collection of photos from my talk at WordCamp Orlando 2009. You can feed your eyeballs more WordCamp Orlando goodness from the official WCO Flickr Pool and on Matt Mullenweg’s personal WordCamp Orlando gallery.
Nginx Virtual Host Recipe for WordPress MU / BuddyPress
More than one person has asked me for my Nginx Virtual Host recipe for WordPress Multi-User and BuddyPress, so I’m posting it here. The attached virtual host definition is feature complete and works for me on a number of production sites.
Be sure to change domain.tld to your actual domain name. The wildcard record will allow your site to respond to ANY sudomain request, which may not be something you want.
You’ll also need to change the path to your log files, as well as the path to your public webroot folder. Finally, up the client_max_body_size to match your upload_max_filesize and post_max_size settings in php.ini.
Finally, this assumes you are running your PHP fast cgi process on port 9000.
This is the recipe for WordPress MU / BuddyPress. I’ve also posted one for WordPress (single site) and Drupal.
Download Nginx vhost Recipe for WordPress Mu and BuddyPress
Please post ways to improve this in the comments. I use this on a number of production sites, but there is always more one can do. Thanks to all of the blogs and articles that I ripped off helped me understand Nginx and got me started.
Nginx Virtual Host Recipe for Drupal
Since more than one person has asked me for my Nginx Virtual Host recipes, I figured I’d post it to my blog. The attached file should be good to go out of the box, but be sure to change domain.tld to your actual domain name. The wildcard record will allow your site to respond to ANY sudomain request, which may not be something you want.
You’ll also need to change the path to your log files, as well as the path to your public webroot folder. Finally, up the client_max_body_size to match your upload_max_filesize and post_max_size settings in php.ini.
Finally, this assumes you are running your PHP fast cgi process on port 9000.
This is the recipe for Drupal. I’ve also posted one for WordPress and WordPress MU / BuddyPress.
Download Nginx vhost for Drupal with imagecache support
Please post ways to improve this in the comments. I use this on a number of production sites, but there is always more one can do. Thanks to all of the blogs and articles that I ripped off helped me understand Nginx and got me started.
Nginx Virtual Host Recipe for WordPress
Since more than one person has asked me for my Nginx Virtual Host recipe for WordPress sites, I’m posting it here. Be sure to change domain.tld to your actual domain name. The wildcard record will allow your site to respond to ANY sudomain request, which may not be something you want.
You’ll also need to change the path to your log files, as well as the path to your public webroot folder. Finally, up the client_max_body_size to match your upload_max_filesize and post_max_size settings in php.ini.
Finally, this assumes you are running your PHP fast cgi process on port 9000.
This is the recipe for WordPress (single site). I’ve also posted one for Drupal and WordPress MU / BuddyPress.
Download Nginx vhost Recipe for WordPress
Please post ways to improve this in the comments. I use this on a number of production sites, but there is always more one can do. Thanks to all of the blogs and articles that I ripped off helped me understand Nginx and got me started.
CMS Capabilities of WordPress
The underlying architecture of the WordPress content storage and retrieval systems provide a flexible and powerful way of creating all manner of sites.
This talk is an overview of that capability and stern reminder that its not about the WordPress plugins you install, but the Information Architecture you implement that will make your site a success or not.
nginx: from russia with love
Besides the very obvious (and common) joke in the title, this is a set of slides giving you an overview of what nginx can do for you and why you should be considering it over your current web server software. If you have any questions, please leave a comment. This talk was delivered at BarCamp Tampa Bay on September 26, 2009.
What I do for a living
This cartoon pretty much sums it up for me. I live to create and would do that happily without monetary compensation. I create and my primary medium is the web. In other words I code to live, not the other way round. This is one of the reasons why 90% of my tools are open source.
If I had admin access to all the servers in the world, I’d spend my time improving the web and fixing code. Writing code is my passion. Of course the reality of being a geek for hire means that I have to also manage expectations.
WP-Orphanage v1.1
If you’re using the Shared Users Table trick to create an ad-hoc blog network, then you need to be using WP-Orphange. When you set the constants CUSTOM_USER_TABLE and CUSTOM_USER_META_TABLE in your wp-config.php file, your users can log into any blog that defines the same Users table. However, if the blog isn’t the one they registered on they won’t be assigned any Roles or Capabilities on the other blogs, and they will be shown an error. I call these users ‘orphans.
WP-Orphanage is a WordPress plugin that automatically adopts all of your orphans automatically, and will set a Role for them on the blog they are trying to log into. You have control over which Role they are set to in wp-admin.
The v1.1 update fixes a bug introduced in the option screen in v1.0.1 and is recommended for all users of this plugin.
Many thanks to Vince from Alphak.net – Born to Be Wired for reporting this error and helping me debug the solution.
How Not To Build A WordPress plugin
How Not To Build a Plugin by Will Norris
Spotted on WordPress TV. Lots of examples of how to make your plugin less flexible, less secure, and more prone to misbehaving.
Video After The Jump
WP-Orphanage v1.0 Released
If you’ve implemented the Shared User Table trick in WordPress by defining CUSTOM_USER_TABLE and CUSTOM_USER_META_TABLE in your wp-config file, then you’ve probably realized there is a serious draw back to this approach when building a blog network: Users who sign up on one blog do not get any privileges on any of the other blogs in your network. This is by design, but you don’t have to leave it at that.
Continue reading
