Tag Archives | WordPress

W3 Total Cache: Import Media Library to CDN is Incomplete or Fails

We are current in the midst of moving 5 years worth of media to a CDN to help increase page-load speed and I have hit some bumps along the way that I want to write about incase anyone else is running into the same problems. I have used the WordPress cache plugin WP-SuperCache for something [...]

Read full story Comments { 3 }

How nginx and PHP-FPM Saved My WordPress Site (and Sanity)

DISCLAIMER: I am not an Apache expert. I accept that it is likely possible for someone smarter than me to tweak Apache to perform comparable to nginx, but I spent 2 solid years trying to get it to perform and was never able to. I have been writing this site for almost 5 years now. [...]

Read full story Comments { 4 }

How to Add Page-Link Tag (Multiple Page Post / nextpage) Support to WordPress

If you have been trying to figure out how to add support for multi-page posts in WordPress that have pagination buttons at the end of each page that look like this: then look no further than this post! The screenshot you see above is actually the exact pagination style we use for long posts that [...]

Read full story Comments { 71 }

How to Fix WordPress PHP Warning “headers already sent”

This morning I noticed our /var/log/apache2 directory had grown to 12GB in size — yea, gigabytes. Dropping into the directory and taking a look I saw that the -error logs themselves were dominating the directory, so I peeked into them and saw millions of the following entries mod_fcgid: stderr: PHP Warning: Cannot modify header information [...]

Read full story Comments { 2 }

How to Center WordPress Captioned Images in a WooThemes Theme

We are very happy WooThemes customers; have been for years. About 2 years ago WordPress added support for “captions” with images inserted into posts, they end up getting a nice grayed border with the caption right under the image; it looks nice. Unfortunately for us, 3 of the WooThemes we went through in the last [...]

Read full story Comments { 2 }

Finding and Removing Hidden WordPress Hacks

I’ve run a handful of WordPress sites over the last 4 years and half of them have gotten hacked at one time or another. The hacks were always of the “Put a hidden IFRAME in the WordPress page/theme files” type that end up hosting/serving spyware/malware from my sites. This inevitably leads to the black-listing by [...]

Read full story Comments { 0 }

WordPress Posts to FaceBook Fan Page

There are a few WordPress plugins out there (e.g. WordBook) that help you cross-post your WordPress blog posts to your FaceBook Wall, but in our case (and other’s) you want to cross-post your WordPress posts to your FaceBook Fan page, and not the wall. But how do you do that? onecoolsitebloggingtips has 5 excellent tips [...]

Read full story Comments { 1 }

Optimizing WordPress Page-Load Pauses with PHP-CGI

For the last 6-months I’ve been trying to deal with mysterious “page load pause” issues with WordPress on my Apache/prefork/mod_php setup. Server load was low, hardware was a 4GB 2-core machine, spent 4 months of that time tweaking MaxClients and other Apache prefork settings until I finally gave up. The behavior I was seeing is hitting [...]

Read full story Comments { 2 }

WordPress (PHP, Sendmail, Postfix) Keeps Sending Mail to Local Spool

Description of Problem You are running WordPress (or some other PHP-application on Linux) and you host your email with Gmail or Google Apps hosted account. Unfortunately, every time you try and generate an email from WordPress and send it with Sendmail or Postfix (on CentOS, Debian, whatever) it always ends up going into your local [...]

Read full story Comments { 0 }

Tip for TimThumb (thumb.php) not Generating Thumbnails

This tip is for anyone using TimThumb (aka “thumb.php”) either directly or indirectly via a WordPress theme (WooThemes uses it a lot) and is not having their thumbnails successfully generated. I have run into this 3x in the last few years and ever time I forget the solution and have to re-find it, so I’m [...]

Read full story Comments { 228 }

50% off WooTheme Valentine's Discount Until February 19th

WooThemes is running a 50% off Valentine’s Day special that existing customers can “give” to others via Email (it allows Woo to collect potential marketing leads). Regardless of the motivation, it’s 50% off. So if you were in the market for a WordPress or Expression Engine theme and like one of the WooThemes you see [...]

Read full story Comments { 0 }

WordPress Image Upload 'Crunching' Not Resizing Images

NOTE: I am posting this information here because I just spent 20 mins Googling for the types of phrases in the title and never got a direct answer and hope anyone else that isn’t a PHP/WordPress guru that needs help with this can find it with this post. I migrated my WordPress sites to a new [...]

Read full story Comments { 7 }

AntiVir Detecting HTML/Infected.WebPage.Gen Virus on WordPress

Guys, if you are seeing something like this when you visit this site: It’s OK — It looks like AntiVir (among other antivirus companies) have decided to detect remote iFrame references in webpages as a “virus” — unfortunately WordPress (like this site) and many of the WordPress plugins make use of iFrames to work. A [...]

Read full story Comments { 0 }

Akismet: Unknown column 'pingback_views' in 'field list' on line: 529

I wouldn’t normally post this because it seemed so insignificant, but recently when I’ve been trying to mark certain pingback traffic as spam with Akismet, I’ve been getting a plain white page with the following error on it: Unknown column ‘pingback_views’ in ‘field list’ on line: 529 I couldn’t remember when this started happening, it [...]

Read full story Comments { 0 }

4 WordPress Tips for Surviving Slashdot, Digg, Reddit or StumbleUpon

We got a story on the front page of Slashdot… and got our assess handed to us literally 2mins later with server load jumping from 0.56 to 10 and then off into the 40s where the server just decided to melt instead of host pages. During the last few hours we’ve been troubleshooting what went [...]

Read full story Comments { 32 }

WordPress 2.6 Released – New Feature Summary

Publishers rejoice, WordPress 2.6 has been released and while I initially anticipated it to be a bug-fix release to follow 2.5.1, it looks like the WordPress team has snuck in quite a few sexy features. We’ll take a look at each below piece-by-piece which are reviewed in the WordPress 2.6 feature movie here. Outline Gears [...]

Read full story Comments { 0 }

Enabling Comments on Every WordPress Page

Updated August 2010 Ok this might seem trivial to the smarter WordPress folks out there, but I’m dumb… dumb like a sack of rocks and didn’t just figure this out until now. If you’ve been using WordPress for years and always wondered why the ‘Add a Comments’ section only show up on the front page [...]

Read full story Comments { 72 }

Speeding up your WordPress Site: PHP Speedy and YSlow

Grant Gochnauer just sent a link over to a sweet little PHP-site optimization piece of software called PHP Speedy from Acid Drop. The premise of the software is that once installed, you walk through a very nicely polished wizard-based setup telling PHP Speeding which things you want it to optimize: At the last stage of [...]

Read full story Comments { 0 }