Like this:
<link rel='index' title='mysite' href='http://mysite.com/' />
It appears inside all pages of the website.
I hope it doesn't tell google not to index that page :|
Also there's a
<link rel='canonical' title='mysite' href='http://mysite.com/' />
What is that for?
<link rel='index' title='mysite' href='http://mysite.com/' />
It states that the linked document provides an index for the current document … which probably isn't true.
<link rel='canonical' title='mysite' href='http://mysite.com/' />
It states that http://mysite.com/
is the same page as the current document, and that the proper URL to use is http://mysite.com/
.
From the HTML4 specification:
Index
Refers to a document providing an index for the current document.
So this would be your main page. (This is the same reason we call it "index.html".)
And the Google Webmasters blog says that "canonical" provides the preferred URL for a page.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With