惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Forbes - Security
Forbes - Security
GbyAI
GbyAI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
SegmentFault 最新的问题
Y
Y Combinator Blog
Recorded Future
Recorded Future
博客园 - Franky
I
InfoQ
T
The Blog of Author Tim Ferriss
Recent Announcements
Recent Announcements
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园_首页
阮一峰的网络日志
阮一峰的网络日志
T
Tailwind CSS Blog
Cyberwarzone
Cyberwarzone
The Register - Security
The Register - Security
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
雷峰网
雷峰网
P
Palo Alto Networks Blog
G
GRAHAM CLULEY
Cloudbric
Cloudbric
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
MongoDB | Blog
MongoDB | Blog
F
Full Disclosure
Google DeepMind News
Google DeepMind News
Recent Commits to openclaw:main
Recent Commits to openclaw:main
C
Check Point Blog
爱范儿
爱范儿
The GitHub Blog
The GitHub Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
W
WeLiveSecurity
T
Threat Research - Cisco Blogs
U
Unit 42
N
Netflix TechBlog - Medium
The Cloudflare Blog
Spread Privacy
Spread Privacy
Microsoft Azure Blog
Microsoft Azure Blog
美团技术团队
T
Troy Hunt's Blog
Engineering at Meta
Engineering at Meta
H
Heimdal Security Blog
TaoSecurity Blog
TaoSecurity Blog
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tenable Blog
B
Blog
S
Securelist
H
Hacker News: Front Page
Google Online Security Blog
Google Online Security Blog
G
Google Developers Blog

博客园 - 我家的木子

asp-for tag helper失效 EF code first:列名 'Discriminator' 无效 jQuery获取属性 SVN提交修改时出现:Checksum mismatch bat笔记 SEO笔记:Anatomy of a URL 妙用Excel数据透视表和透视图向导,将二维数据转换为一维数据 安装WIN7时提示“缺少所需的CD/DVD驱动器设备驱动程序” YTD易出现断层问题,请注意! Xcel 测试版使用手册 Office2003与Office2007默认打开方式的切换 - 我家的木子 - 博客园 对 Office VBA 项目的编程访问被拒绝 SharePoint 2007:该表单无法显示,因为会话状态不可用。 - 我家的木子 - 博客园 将数据库查询结果导出为Excel css滤镜实现页面灰色黑白色效果代码 div最低高度设置 - 我家的木子 - 博客园 Ajax联动之后 js 跨行文本出现“未结束的字符串常量”问题,如何解决 - 我家的木子 - 博客园 回发或者回调参数无效 - 我家的木子 - 博客园
SEO笔记:构建URL的15个SEO最佳实践
我家的木子 · 2015-05-06 · via 博客园 - 我家的木子

By: Rand Fishkin

原文链接:https://moz.com/blog/15-seo-best-practices-for-structuring-urls

#1: Whenever possible, use a single domain & subdomain

1.尽量使用简单的域名/二级域名

  二级域名,子文件夹,301跳转的对比:Subdomains vs. Subfolders, Rel Canonical vs. 301, and How to Structure Links for SEO - Whiteboard Friday

#2: The more readable by human beings, the better

2.可读性越佳越好

  比较:https://moz.com/blog/15-seo-best-practices-for-structuring-urls

       https://moz.com/blog/110001.php

#3: Keywords in URLs: still a good thing

3.关键字体现在URL中

#4: Multiple URLs serving the same content? Canonicalize 'em!

4.多个页面提供相同的内容?规范化他们!(有点难理解)

#5: Exclude dynamic parameters when possible

5.尽量排除动态参数(个人理解和第二点类似)

#6: Shorter > longer

6.短链接更可读。

#7: Match URLs to titles most of the time (when it makes sense)

7.URL和页面的title标签尽量保持一致。

#8: Including stop words isn't necessary

8.连接字符( stop words (and, or, but, of, the, a, etc.))不是必须的

#9: Remove/control for unwieldy punctuation characters

9.移除/控制难处理(不安全)的标点符号

ClassificationIncluded charactersEncoding required?
Safe characters Alphanumerics [0-9a-zA-Z], special characters $-_.+!*'(), and reserved characters used for their reserved purposes (e.g., question mark used to denote a query string) NO
ASCII Control characters Includes the ISO-8859-1 (ISO-Latin) character ranges 00-1F hex (0-31 decimal) and 7F (127 decimal.) YES
Non-ASCII characters Includes the entire “top half” of the ISO-Latin set 80-FF hex (128-255 decimal.) YES
Reserved characters $ & + , / : ; = ? @ (not including blank space) YES*
Unsafe characters Includes the blank/empty space and " < > # % { } | \ ^ ~ [ ] ` YES

* Note: Reserved characters only need encoding when not used for their defined, reserved purposes.

表格数据来自于:https://perishablepress.com/stop-using-unsafe-characters-in-urls/

#10: Limit redirection hops to two or fewer

10.减少重定向跳转

  如果客户端请求A,实际重定向B,或者再次重定向C,客户端可以得到C,但是搜索引擎不会记录C页面的排名

#11: Fewer folders is generally better

11.减少子文件

#12: Avoid hashes in URLs that create separate/unique content

12:尽量避免使用URL #创建单独的url /独特的内容

  #常用于追踪参数 e.g. someone.com/first-page#src=weibo

  也有例外,见原文链接

#13: Be wary of case sensitivity

13.注意大小写

  URL是区分大小写的,尽量小写。

URL大小写敏感

#14: Hyphens and underscores are preferred word separators

14.破折号和下划线是首选词分隔符

  很久以前,搜索引擎只把破折号作为分隔符,现在已攻克,破折号和下划线都是首选分隔符

#15: Keyword stuffing and repetition are pointless and make your site look spammy

重复的关键字并不会提高Page Ranking.