What is the
This blog is hosted in a bunch of places:
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
<!doctype html> <html> <head> <link rel="canonical" href="https://jameshfisher.com/foo/bar"/> </head> <!-- ... --> </html>
More by Jim
- Project C-43: the lost origins of asymmetric crypto
- How Hacker News stays interesting
- My parents are Flat-Earthers
- The dots do matter: how to scam a Gmail user
- The sorry state of OpenSSL usability
- I hate telephones
- The Three Ts of Time, Thought and Typing: measuring cost on the web
- Granddad died today
- Your syntax highlighter is wrong
I wrote this because I felt like it. This post is not associated with my employer. Found an error? Edit this page.