What happens if the meta tags are present in the document body?

后端 未结 9 1771
有刺的猬
有刺的猬 2020-11-29 06:26

I am working on a ASP application and the code, template and files are organized in a way that does not allow me to alter anything outside the body tag. So I am thinking abo

9条回答
  •  独厮守ぢ
    2020-11-29 06:51

    Some meta tags that are meant for search engines will not be honored by the search engines in the body section of the page.

    For example Google says that it will not honor a rel=canonical in the body of the page, but only in the head of the page. Here is what Matt Cutts from Google says:

    We don’t allow rel=canonical in the BODY (because as I mentioned, people would spam that),

提交回复
热议问题