模块中出现两次元标签是否会损害我的 SEO?
我在我的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, plastic surgeons, best doctors, implants, breast augmentation, 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, plastic surgery, before and after, 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?我已经在搜索引擎中建立了很好的索引,并且不想破坏这一点。谢谢。 `
I have my metatags hand coded in my index.php(page.tpl.php in drupal). Now, I want to use a module called "nodewords" that allows metatags in every individual page; as opposed to just the index page for the whole site. But, now it outputs it as something like this:
<!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, plastic surgeons, best doctors, implants, breast augmentation, 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, plastic surgery, before and after, 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"/>
Notice that the metatags are listed twice. Once for the main index(listed on every page), and once for the module including it for the individual page. My question is, does this hurt my SEO by having it twice? I already am pretty well indexed my the search engines and wouldn't want to jeopardize that. Thank you.
`
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您的 HTML 代码显然非常无效,并且担心 SEO?我首先会担心我的网站能否正确呈现。谁知道众多的浏览器会对这样糟糕的代码做出什么反应。
但要回答您的问题,元标记不再用于排名目的,因此这不会损害您的排名。但是,由于描述元标记可以用作页面排名中的片段,因此如果您有其中两个,您将不知道搜索引擎将如何对其做出反应。您可能不会得到任何描述或描述很差,因为搜索引擎可能只是使用您页面中的随机片段。
底线:修复您的 HTML,以便只有一个
和
。
You have clearly very invalid HTML code and you're worried about SEO? I'd worry about my site rendering properly first. Who knows how the numerous browsers out there will react to poorly constructed code like that.
But to answer your question, meta tags are not used for ranking purposes anymore so this won't hurt your rankings. However, because the description meta tag can be used as your snippet in your pages' rankings, if you have two of them you don't know how the search engines will react to it. You may get no description or a poor one as the search engines may just use a random snippet from your page.
Bottom line: fix your HTML so there is only one
<html>
and<head>
.如上所述,它可能损害您的排名。您绝对应该删除通过 HTML 硬编码的任何元标记,并通过 Nodewords 手动分配它们。
As mentioned above it can hurt your ranking. You should definitely remove any meta tags hardcoded via the HTML and manually assign them via Nodewords.
尽管元标记没有像以前那样具有当今的索引值,但您最好只使用一组。
You're better off with only one set although Meta tags don't have anything like the indexing value today that they used to.
发现这个:
here. From what I've seen it may classify as spam then.
Found this:
here. From what I've seen it may classify as spam then.