Web Tool Review Blog

WordPress Slow? Check ShortStat Plugin


by Paul Flyer

Recently there has been a problem with the ShortStat plugin for WordPress which has caused the WordPress admin page and any feeds generated by WordPress to load slowly. If the login page of a WordPress installation is taking minutes instead of seconds to load then most likely this is the problem. Find help on this issue on the WordPress support site. I have extracted the pertinent info here:

If you want to keep wp-shortstat enabled but don’t mind losing the country information you can comment out the following lines in the plugin by prefixing them with //

$coinfo = @file(’http://www.hostip.info/api/get.html?ip=’ . $ip);
$country_string = explode(’:',$coinfo[0]);
$country = trim($country_string[1]);
like:
//$coinfo = @file(’http://www.hostip.info/api/get.html?ip=’ . $ip);
//$country_string = explode(’:',$coinfo[0]);
//$country = trim($country_string[1]);

The above fixes the problem.

10.28.2005 @ 8:28 AM — Filed under:

Be sure to review our list of recommended web tools.

TrackBack this entry

Leave a comment

Note: All comments are moderated. It may take 24-72 hrs for your comment to appear.