How to remove www from your URL with mod_rewrite

How to remove www from your URL with mod_rewrite

I got a hit today for the following search query: how do you get rid of the www in url. As you can see that hits on my article about removing PHPSESSID’s, which isn’t quite what the person was looking for I guess. Here’s the code to 301 redirect the www version of your site…

PHP-APC: Speed up your web applications!

PHP-APC: Speed up your web applications!

As regular readers of this blog might know I have written quite some tools using the different API’s of search engines, and always found them quite useful. When I was implementing my sitewide search function, one of the things that bothered me that it was a bit slow. I knew that I had seen some…

Implementing a sitewide search function

Implementing a sitewide search function

Those of you coming to this site more often might have noticed a small change in the search box. It’s now implemented sitewide, and I’ve built a sitewide search functions using the Yahoo! API. It was quite nescessary because I found that people were searching for “sortable.zip” on the blog, and they wouldn’t find anything…

Why Google doesn’t like frames in your sites

Why Google doesn’t like frames in your sites

I’m currently working on a site for a client who has a site which uses frames, and he asked me why Google always linked to the “wrong” page. He did not build this site himself of course, and hasn’t got much of a clue as to how HTML works, let alone search engines. He asked…

The correct way of using conditional comments

The correct way of using conditional comments

Some people, like Jens Meiert, have argued that using conditional comments to fix layout bugs for IE is wrong. For those of you who don’t know what they are, check out my article on conditional comments. I on the other hand, think that it’s the only proper way of working around IE CSS bugs. If…

Google, WordPress and trackback URL’s

Google, WordPress and trackback URL’s

I’ve been playing around with WP-Googlestats for some blogs, and I noticed something I really didn’t think about until now. Googlebot, and other spiders, all spider the trackback URL’s that are in the meta data for posts. But since it spiders that and it’s not really sending a trackback, it get’s redirected to the post…

SEOdays was great, even though Google fucked up

SEOdays was great, even though Google fucked up

Ok, so a lot of people asked me what I thought of SEOdays, since they don’t speak Dutch and thus can’t  read my posts on the Onetomarket blog. The headline says it all, I’ve met some very cool people, of course Jennifer Slegg and David Naylor, but also Jason Duke and Johan Terpstra, a Dutch…