Sealyu

--- 博客已迁移至: http://www.sealyu.com/blog

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  618 随笔 :: 87 文章 :: 225 评论 :: 0 Trackbacks

Drupal 核心模块中就包含了可选的 SEO 优化选项,此外还有一些有益的 Drupal 的第三方模块,他们都可以帮助 Drupal 的使用者提升搜索引擎的排名。本文就将介绍一些 Drupal SEO 时必装模块和相应的设置,希望对您有所帮助。但是这只是 Drupal SEO 的开始……

开启简洁链接(Clean URLs)
开启 Path 模块 (从 Drupal 4.3 开始进入 Drupal 核心模块)
Path 模块可以让您通过添加路径别名(path alias),来达到自定义链接名的效果。例如 http://www.mypetal.com/node/7 可以定义为 http://www.mypetal.com/library/drupal-seo

开启 Pathauto 模块 (http://drupal.org/project/pathauto)
Pathauto 模块能够为不同类型的页面(nodes, categories, users)自动生成路经别名(path alias),而不在需要用户手动定义路径别名。

设置 Pathauto 模块,在修改 node 的标题时,禁止 Pathauto 模块二次修改路径别名。
开启 Global Redirect 模块(http://drupal.org/project/globalredirect)
Global Redirect 模块在页面拥有路径别名的情况下,移除该页面的原始路径,这样可以减少网站的重复内容页面,有利于 SEO。

开启 Meta Tags (nodewords)模块(http://drupal.org/project/nodewords)
Meta Tags 模块可以让您为每个 node、user、view 或 panel 页面设置多种 meta tags,例如:keywords 和 description,有利于 SEO。

开启 Page Title 模块(http://drupal.org/project/page_title)
Page Title 模块能让您自定义页面标题,有利于 SEO。

使用 Drupal XML Sitemap 模块
调整 .htaccess 文件to redirect to "www" or remove the "www" subdomain.
调整您网站主题的 HTML headers -- 许多主题设置不正确。
调整您网站的 robots.txt 文件。在 Drupal 6 中 Drupal 默认的 robots.txt 文件还是有一些问题。
检查安装的第三方模块是否新增了一些重复的链接,如果有,使用在 robots.txt 添加规则对搜索引擎的爬虫进行屏蔽。

posted on 2010-08-20 21:08 seal 阅读(434) 评论(0)  编辑  收藏 所属分类: PHPSEO

只有注册用户登录后才能发表评论。


网站导航: