HTML – metatags会出现两次模块会伤害我的搜索引擎优化吗?

HTML – metatags会出现两次模块会伤害我的搜索引擎优化吗?,第1张

概述我在我的index.php(drupal中的page.tpl.php)中手工编写了我的元标记.现在,我想使用一个名为“nodewords”的模块,它允许每个页面中的元标记;而不仅仅是整个网站的索引页面.但是,现在它输出如下: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/D 我在我的index.PHP(drupal中的page.tpl.PHP)中手工编写了我的元标记.现在,我想使用一个名为“nodewords”的模块,它允许每个页面中的元标记;而不仅仅是整个网站的索引页面.但是,现在它输出如下:

<!DOCTYPE HTML PUBliC "-//W3C//DTD xhtml 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <HTML xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> <Meta name="Description" content="Hollywood Nose has before and after plastic surgery of all hollywood stars,people/celebritIEs who should have plastic surgery,celebrity nose jobs,breast augmentation,hairpIEces,face lifts,liposuction,and more.  Plastic surgery information includes: forums on top plastic surgeons,patIEnt surgery experIEnces,the best doctors,and more."> <Meta name="Keywords" content="Plastic surgery,plastic surgeons,noses,Hollywood,surgeons,Hollywood nose jobs,Hollywood plastic surgery,celebrity hair pIEces,celebrity face lift,before and after,plastic surgery,best doctors,implants,celebrity breast implants,hair pIEce,rhynoplasty,hollywood facelift">    <head> <Meta http-equiv="Content-Type" content="text/HTML; charset=utf-8" />  <Title>Hollywood Nose</Title>  <Meta http-equiv="Content-Type" content="text/HTML; charset=utf-8" /> <Meta name="keywords" content="Alicia Keys,nose job,rhinoplasty,musician,celebrity.,Nose Jobs" /> <Meta name="description" content="Alicia Keys nose job plastic surgery before and after.  See Alicia Keys when she was young with her original nose and later on after her rhinoplasty." /> <Meta property="fb:app_ID" content="http://www.facebook.com/pages/Hollywood-Nose/199540186756971"/>

请注意,元标记列出了两次.一次用于主索引(在每个页面上列出),一次用于包含它的模块用于单个页面.我的问题是,这有两次伤害我的SEO吗?我已经很好地将我的搜索引擎编入索引,并且不想破坏它.谢谢.
`

解决方法 你有明显非常无效的HTML代码,你担心SEO?我先担心我的网站渲染得当.谁知道那里的众多浏览器会对像这样构造不良的代码做出反应.

但是要回答你的问题,Meta标签不再用于排名目的,所以这不会影响你的排名.但是,因为描述元标记可以用作页面排名中的代码段,如果你有两个,你就不知道搜索引擎会对它做出怎样的反应.由于搜索引擎可能只使用您网页上的随机片段,因此您可能无法获得任何描述或信息不佳.

底线:修复您的HTML,因此只有一个< HTML>和< head>.

总结

以上是内存溢出为你收集整理的HTML – metatags会出现两次模块会伤害我的搜索引擎优化吗?全部内容,希望文章能够帮你解决HTML – metatags会出现两次模块会伤害我的搜索引擎优化吗?所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://www.outofmemory.cn/web/1062767.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-26
下一篇 2022-05-26

发表评论

登录后才能评论

评论列表(0条)

保存