Quantcast
Channel: WordPress – The Life and Times of Michael Shadle
Browsing latest articles
Browse All 11 View Live

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 Article



Image may be NSFW.
Clik here to view.

nginx + 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 Article

Changing 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 Article

Disabling 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 Article

Image may be NSFW.
Clik here to view.

Finally 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 Article


Image may be NSFW.
Clik here to view.

Don'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 Article

WordPress 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 Article

WordPress 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 Article


Image may be NSFW.
Clik here to view.

Happy 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 Article


Image may be NSFW.
Clik here to view.

More 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
Browsing latest articles
Browse All 11 View Live




Latest Images