: Clicking to index.html does not show that rel="canonical" on home page is working I am trying to use link rel="canonical" to ensure that my home page (example.com/index.htm) is not considered
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/" />
or
<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?
More posts by @Berumen354
1 Comments
Sorted by latest first Latest Oldest Best
The <link rel="canonical"> tag will not affect how browsers and users interact with your site. Some visiting www.example/index.htm with a canonical tag of <link rel="canonical" href="http://www.example.com/" /> will not be redirected to example.com. And that's okay because that's not what supposed to happen. The canonical tag just tells Google which URL to use in their index and to consider the canonical URL for that content.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.