I am trying to use link rel="canonical" to ensure that my home page (example.com/index.htm) is not considered as duplicate content with example.com/ (Site is on APACHE server) Placing
<link rel="canonical" href="http://www.example.com/" />
<link rel="canonical" href="http://www.example/index.htm" />
in HEAD section of index.htm does not seem to work. (Tested live by clicking on index.htm links on other pages.)
What is it that I am doing wrong?