Blog

Redirecting all subdomains to the main domain

Using the canonical hostname for websites isn't an obvious problem. After all, who really cares if your site is accessible at www.domain.com and domain.com? Search engines, for example, could penalize you for having the same content on both domains. I think that today they are smart enough to discover this ... more

Opera and the <noscript> tag

When you build websites and test them in various browsers there always are some problems in some browsers. Usually it's the one you expect who displays things incorrectly. But a few days ago I was surprised when Opera insisted on showing me the contents of a <noscript> tag . The ... more

WordPress Fireworks Plugin

This plugin shows fireworks on your WordPress blog. I think it's pretty stable by now, although the images still aren't that nice. If you're a designer and you like this plugin, feel free to submit nicer explosions or rockets. You should be able to see the fireworks on this page. ... more

Different titles for WordPress blog page and static front page

I was a little surprised when I realized that wp_title() doesn't return the page title for a static WordPress front page or the blog page. I don't like that, because I want at least the blog page to have a label. Something like... blog :-D or maybe news. So I ... more

Mailman, HTTP POST and 301 redirects

After changing my domain configuration a little (do 301 redirects from nkuttler.de to www.nkuttler.de/ etc.) I noticed that my mailman web interface stopped working. I tried to moderate, change settings etc., but once the form was submitted nothing happened. After some digging I found the problem: 301 redirects don't pass ... more

WordPress 2.7 and the comment pager

Comment paging is a great new feature in WordPress 2.7. However, how do you not display the pager when there are no previous or next comments? After digging through the code for quite a while and chatting with some people here's a solution: <?php if ( have_comments() ) { ?> ... more

A Better Tag Cloud

A Better Tag Cloud I was pretty annoyed with the default tag cloud widget. It does a lot of things wrong, like inconsistent HTML markup and hardcoded font sizes. So I wanted to write my own. Digging through the code I found out that the wordpress wp_tag_cloud() function is pretty powerful. In fact, it ... more