This is a useful piece of code, but I always add an extra line since Google Webmaster Tools still tells me I have two versions of the page depending on weather it ends in a forward slash or not (which is just ridiculous if you ask me). C5 accepts it either way, but it's a nightmare to make sure all external links are the same.