Posts Tagged: wordpress


3
Jul 10

Easy way of fooling wordpress updates

Edit version.php in wp-includes

$wp_version = ’2.9.3′;

$wp_version = ’3.0.1′;

This way it will not display that annoying announcement asking for updates. And don’t forget never to update to 3.0. Wait for 3.0.1 or 3.1.


11
Jan 10

Amazed by the power of W3 Total Cache

W3 Total Cache is a good plugin.

My main blog has quite a bit of traffic, so a cache solution is required. I’ve used HyperCache for a while, because it had better results than Wp-SuperCache. A few days ago I stumbled on to W3TC. I didn’t give it much chance at first, but after a few minor tweaks, it turned out to be a much better solution.

I love the Minify part. And i started using a CDN for the images and css, which really takes the load off the main server:

Last Day Data Trans: 11.83 GB
Last Day Total Hits: 535,404

I know blogging is fun, but fun can turn into a small business and must be greased up from time to time in order to run smoothly.


11
Jan 10

Google XML Sitemap Generator is not working in WordPress 2.9.x

For some reason, the plugin does not run when a new post is published. I guess some cron problems. So, the option is to run it manually or don’t upgrade.

I still haven’t found a replace plugin for it.


2
Jan 10

How to fix HTTP error in WordPress 2.9

I updated some of my blogs to wordpress 2.9 and when i was trying to upload any pictures. I tried different solutions, including the one with the .htaccess and SecFilterEngine and nothing. While replacing stuff in .htaccess i noticed i had the php_flag display_errors set to off. I turned on and the error I got was this:

Call to undefined function ctype_digit() in /wp-admin/includes/file.php

After more digging, I came up with a solution of my own. Here it is. In file.php replace this line:

if ( isset( $file['error'] ) && !ctype_digit( $file['error'] ) && $file['error'] )

with this one:

if ( isset( $file['error'] ) && !is_numeric( $file['error'] ) && $file['error'] )

It worked!