Simple WordPress hack - redirect the index.php!
I don't know how or when, but I wound up getting indexed with index.php in some of my URLs. For some reason, WordPress hasn't decided that they should parse and remove that. So for the interim, I've...
View Articlenginx + WordPress - redux
Note: this has been outdated once again. Now it can be simplified with one simple directive shown here. There's been a minor tweak required in my original WordPress+nginx rewrite rule post. I think...
View ArticleChanging the WordPress $table_prefix - a word of caution
I just changed the table prefix from "wp_" to "wp_en_us_" to support multiple installs in the same database, one for each locale. This seemed pretty straightforward - just rename the table names and...
View ArticleDisabling autosave in WordPress (properly)
This is for 2.6.3 - not sure what other versions it will work on. Originally I got this from http://www.untwistedvortex.com/2008/06/27/adjust-wordpress-autosave-or-disable-it-completely/, however, it...
View ArticleFinally using nginx's "try_files" directive
OLD: error_page 404 = /wordpress/index.php?q=$request_uri; or: if (!-e $request_filename) { rewrite ^/(.*) /wordpress/index.php?uri=$request_uri last; } NEW: try_files $uri $uri/...
View ArticleDon't forget the $args!
August 2010 UPDATE: Read here for new information! I just realized when trying to use the try_files shortcut that either the behavior has changed or the code I've used it for has never had to take...
View ArticleWordPress on Drizzle - beaten to the punch
Looks like Jeff Waugh actually beat me to it. Haven't seen the code... but he's done it and sounds like he's done a somewhat thorough job. Sadly I learned this from Brian's presentation on Drizzle at...
View ArticleWordPress 2.8.x - hiding those unwanted dashboard items
There's a completely new way now to hide dashboard items, and I finally think I found the easiest way to do it, after having to poke around looking for the right hooks. This basically applies the same...
View ArticleHappy day! PHP-FPM included with PHP 5.3.3RC1, and WordPress 3.0
Officially in the 5.3.3RC1 distribution. Sweet! From the NEWS file: 17 Jun 2010, PHP 5.3.3 RC1 ... - Added FastCGI Process Manager (FPM) SAPI. (Tony) ... and on an unrelated note: - Added support for...
View ArticleMore WordPress woes - degradation over time
Another day, another WP headache. One of my clients contacted me saying his site is not performing properly and it has been getting worse. It's on a server I setup, so the server shouldn't be the...
View Article