The rel=canonical tag

This blog is hosted in a bunch of places:

I prefer The others are old, or insecure, or implementation details. To tell Google and everyone else which version you prefer, you can use the <meta rel="canonical" tag. On every page you serve, you put a <link rel="canonical" href="..."/> element, and this tells the client where the canonical location of that page is. Like so for the page /foo/bar:

<!doctype html>
    <link rel="canonical" href=""/>
  <!-- ... -->

I wrote this because I felt like it. This post is my own, and not associated with my employer.

Jim. Public speaking. Friends. Vidrio.