I'm just working through some PHP to set up a canonical link for each page on one of my websites and I'm wondering what's the correct link for the home page:
Is it:
<link rel="canonical" href="http://www.example.com/"/>
Or?
<link rel="canonical" href="http://www.example.com"/>
I've always tried to link to the home page without the trailing slash.