位置:SEO博客 > SEO,SEO技术基础 > 什么是url标准化?

什么是url标准化?

url标准化,即对于同一个页面,只使用一个url
我们看到,有许多网站的首页链接,logo的对应的链接是/index.html,导航栏首页对应的链接是/default.aspx,而文章中用的是/,也就是一个页面有多个url,导致网站的权重分散。在优化的时候把这些url统一为一个或者把权重集中到一个url上,这样的工作就是url标准化工作。
url标准化可以有以下形式:
1.直接修改页面上的链接,令所有的页面使用同一个url,例如上面提到的首页,把/index.html和/default.aspx都改成/
2.使用canonical标签,书写格式:<link rel=”canonical” href=”http://www.zhengyiwen.com/“/>,这个标签目前Google支持,百度不支持。这个标签常用于多个url的情况,例如开启伪静态的动态页面。
3.修改首选域设置。在使用多个域名的情况下,在Google管理员工具那里可以设置首选域。
目前对百度来说,只有1适用,所以在修改的时候尽量采用1的方法。

本站文章除注明转载外,均为本站原创
转载请注明:文章转载自:郑义文SEO博客
本文标题:什么是url标准化?
本文地址:http://www.zhengyiwen.com/url-standardization.html

15 Comments

  1. Posted 2010年07月20日 at 08:39 | Permalink

    多谢分享~!

    [回复]

  2. Posted 2010年07月25日 at 12:38 | Permalink

    分析的很不错.收藏起来多读两次

    [回复]

  3. Posted 2010年07月25日 at 15:28 | Permalink

    恩,是这样子的

    [回复]

  4. Posted 2010年07月27日 at 21:20 | Permalink

    还是不明白

    [回复]

  5. Posted 2010年08月8日 at 15:05 | Permalink

    很不错啊

    [回复]

  6. Posted 2010年08月12日 at 10:39 | Permalink

    简单来说每个页面都对应唯一的url

    [回复]

  7. Posted 2010年08月12日 at 11:55 | Permalink

    来学习了

    [回复]

  8. Posted 2010年08月12日 at 11:56 | Permalink

    支持楼主,以后常来学习

    [回复]

  9. Posted 2010年08月12日 at 12:51 | Permalink

    不怎么懂这些

    [回复]

  10. Posted 2010年08月12日 at 21:01 | Permalink

    内容很不错,已经rss订阅了,博主努力更新吧

    [回复]

  11. Posted 2010年10月20日 at 22:16 | Permalink

    嗯,写的很不错,继续支持

    [回复]

  12. Posted 2011年04月15日 at 09:18 | Permalink

    期待你的下次更新

    [回复]

  13. Posted 2011年04月25日 at 09:24 | Permalink

    怎么样才能让人家输入usgww.com自动跳转到www.usgww.com;
    谢谢

    [回复]

    郑义文 回复:

    有两种方法可以实现:
    1. 直接在域名上设置转发。在域名管理后台,域名的绑定一般分为4种,默认是A记录,把A记录改成转发即可
    2. 做301永久重定向。可以代码实现或者服务器实现,找你们技术处理即可。

    [回复]

  14. Posted 2011年06月27日 at 17:45 | Permalink

    这个需要学习

    [回复]

  15. Posted 2011年09月21日 at 13:44 | Permalink

    多谢分享~!

    [回复]

Post a Comment

Your email is never shared. Required fields are marked *

*
*