How to prevent Google from indexing script output

If you have some scripts on your site like, for instance, my domain-info script, you often use GET parameters so people can link to them or bookmark them. This has a lot of benefits, but it creates a problem as well. Search engines will index this output, causing your server to use cycles for something…

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…

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…

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…

Convert underscores to dashes with Apache mod_rewrite

Update: (Aug 4 2007) the stuff below is no longer necessary, all major search engines now treat underscores and dashes exactly the same, as word separators! A year or so back, I was using underscores in my URL’s on this site for spaces, and I decided to switch them to dashes, since several people, including…

Going to SEOdays!

Some people watching the blogosphere closely had already guessed it: I’m going to SEOdays tonight. We only finalized it last thursday, so it has been quite hectic, but tonight I’m getting on an airplane over to London, to spend a few days and nights with the awesome DaveN, JenSense and others! I’m really looking forward to…

Trailing double forward slashes in URL’s in the SERPs…

This query gives a result I hadn’t seen before (image), the same page was indexed with both a single trailing forward slash, which is of course normal, and with a double trailing forward slash… This is of course a duplicate content issue, especially when people link to the double slash one by accident. The fix…