【发布时间】:2011-07-29 17:33:32
【问题描述】:
我在 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?我已经很好地索引了我的搜索引擎,并且不想危及它。谢谢你。 `
【问题讨论】:
-
老实说,该网站的设计令人毛骨悚然。
标签: html drupal seo drupal-modules