Who’s abusing your website?

I wanted to know what IP addresses were hitting my website. I’d done this before and it only took a moment or two to recreate the following commands. Still, here it is for future reference.

grep -v "wp-content" access.log|grep -v wp-includes|cut -f 1 -d " "|sort|uniq -c|sort -nr|less

This code:

  • Excludes “wp-content” and “wp-includes” requests.
  • Uses “cut” to cut out the IP address.
  • Sorts the list of IP addresses.
  • Uses “uniq” to count the occurrence of each IP.
  • And finally reverse sorts the list again, by number of occurrences, with the largest number at the top.

You’ll probably find Google and Yahoo! bots near the top of the list, but I also found the “Jyxobot/1″ bot was quite busy today.

Oink!

Remember Oink! the comic from the ’80s? Ah happy memories. There are two issues archived here, and the Wikipedia page on the comic is a fountain of knowledge.

It didn’t last long but I’m pretty sure I bought the very last issue. This comic strip rings a bell..

Lego The Dot Conf

I think I have to agree with Damien. This is the best trailer for a conference ever!

It’s for The Dot Conf in Dublin on July 22nd. I won’t be going but there’s a great line up of speakers!

The MU forums are moving

The MU forums will shortly be closing up shop.

WordPress 3.0 integrated everything that MU always did so it’s better to consolidate the forums too. There’s a MultiSite forum on WordPress.org and any queries about upgrading or problems using WordPress 3.0 should go there.

The old forums aren’t going anywhere but later today or perhaps tomorrow I’ll be making them read-only. You’ll still be able to browse the forum, and Google will still index the wealth of information already there but posting will be disabled.

So, thank you to everyone who contributed to the forum over the years. You helped make WordPress MU great.

WordPress 3.0 Domain Mapping 0.5.2

I’ve just released WordPress Domain Mapping 0.5.2. This plugin allows you to map any domain on to your WordPress 3.0 or WordPress MU website.

New in this release:

  • WordPress 3.0 support.
  • Added “domains” page for superadmin to add domains to any blog. The user’s domains page can be disabled by the superadmin too.
  • Added support for “www.” prefix in front of domains.
  • Allow dashboard to redirect to mapped or original domain.
  • Better support for SSL
  • Translation file added for localization.

For security reasons remote login is now disabled if the dashboard is redirected to the mapped domain. There is a tiny chance of a man-in-the-middle attack during redirection, but it’s just as likely to happen when you’re logging in and sending your username/password to the login form. Call me paranoid.

I would like to thank Ron and Andrea who were a huge help developing and testing this release. Andrea has written a great post on creating a network in WordPress 3.0 plus instructions on upgrading from WordPress MU. Great stuff!

WP Super Cache 0.9.9.2

WP Super Cache 0.9.9.2 has just been released! This version works with WordPress 3.0 and adds a number of new features and bug fixes:

  • Cache Preloading will cache every post on your site.
  • A cache tester that will check if your homepage is cached.
  • Much better support for mobile plugins.
  • Mod rewrite rules can now be updated from within the admin page.
  • Lots and lots of bugs fixed. See the changelog for more details.

Preloading creates lots of files on your server so if you have many thousands of posts please be aware of this. Filesystem limitations may cause problems if you use a flat permalink structure. For example, ext2 or ext3 only allows 32,000 directories in a directory. If you have more than that number of posts you may run into problems.

The plugin does not preload category or tag pages but because your single posts will be cached you’ll find the load on your server will be reduced. Uncached pages will be served more quickly and your visitors will have a quicker and better experience on your site.
You may also see an increase in site traffic if your server was previously underpowered!

Update! I just released 0.9.9.3 to address the (mostly minor) bugs that were reported overnight. If you don’t notice anything wrong there’s no need to upgrade.

Blairs Inn Smile

Duncan of Blairs Inn was giving out free samples of their delicious beef stew along with samples from other local restaurants at the festival in Blarney today.

Delicious stuff, and Blairs Inn is a great place to go for a meal too. Only been there once but we had a great meal there. Recommended.

Insert Coins Only

“Yes, I’ll be home as soon as I can. I may be here for a while.”

Avatar 2 Trailer

A brand new trailer for Avatar 2 has just been released and it’s amazing. If you thought the first film was stunning you’ll be blown away by this one!

The Return of ‘Allo ‘Allo

Sometimes I’m glad I look in my spam folder. I spotted this delightful email subject:

Important massage from Federal Ministry of Finance

It reminded me of the BBC sitcom, ‘Allo ‘Allo which anyone living in the UK or Ireland and probably further afield will immediately recognise. Luckily I found this video of clips from the “Return of” show aired in 2007. Hilarious stuff!

Holy Shmoly! is Digg proof thanks to caching by WP Super Cache