发布时间:2026-02-05 19:19:30 浏览次数:0
网站的网址结构应尽可能简单些。建议您组织一下内容,使网址结构合乎逻辑并易于人们理解。
尽可能在网址中采用易读的字词而非冗长的 ID 编号。
建议- 简单、描述性的网址:
http://en.***.org/wiki/Aviation
不建议- 复杂、非描述性的网址:
http://www.example.com/index.php?id_sezione=360&sid=3a5ebc944f41daa6f849f730f1
不妨考虑在网址中使用标点符号。这样有助于用户和搜索引擎更轻松地了解网址中的关键字。
建议- 网址中的关键字用标点符号分隔开:
http://www.example.com/green-dress.Html
不建议- 将网址中的关键字连接在一起。
http://www.example.com/greendress.html
建议您在网址中使用连字符,而不要使用下划线_。
建议- 使用连字符 (-):
http://www.example.com/summer-clothing/filter?color-profile=dark-grey
不建议- 使用下划线(_):
http://www.example.com/summer_clothing/filter?color_profile=dark_grey
过于复杂的网址,特别是那些包含多个参数的网址,可能会给抓取工具带来麻烦,因为它们可能会产生大量不必要的网址,全都指向您网站上相同或相似的内容。Googlebot 可能会因此而消耗大量不必要的带宽,也可能无法将网站上的所有内容完整编入索引。
导致网址过多的原因有多种,其中包括:
http://www.example.com/hotel-search-results.jsp?Ne=292&N=461
http://www.example.com/hotel-search-results.jsp?Ne=292&N=461+4294967240
http://www.example.com/hotel-search-results.jsp?Ne=292&N=461+4294967240+4294967270
http://www.example.com/results?search_type=search_videos&search_query=tpb&search_sort=relevance&search_category=25
http://www.example.com/search/noheaders?click=6EE2BF1AF6A3D705D5561B7C3564D9C2&clickPage=OPD+Product+Page&cat=79
http://www.example.com/discuss/showthread.php?referrerid=249406&threadid=535913
http://www.example.com/products/products.asp?N=200063&Ne=500955&ref=foo%2Cbar&Cn=Accessories.
http://www.example.com/calendar.php?d=13&m=8&y=2011
http://www.example.com/calendar/cgi?2008&month=jan
http://www.example.com/index.shtml/discuss/category/school/061121/html/interview/category/health/070223/html/category/business/070302/html/category/community/070413/html/FAQ.htm
若要避免网址结构可能导致的问题,建议您采取以下措施: