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

推荐订阅源

GbyAI
GbyAI
J
Java Code Geeks
雷峰网
雷峰网
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
云风的 BLOG
云风的 BLOG
V
Visual Studio Blog
V
Vulnerabilities – Threatpost
S
Securelist
The Hacker News
The Hacker News
The Register - Security
The Register - Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Help Net Security
Help Net Security
G
Google Developers Blog
Hugging Face - Blog
Hugging Face - Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
M
MIT News - Artificial intelligence
AI
AI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The GitHub Blog
The GitHub Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Schneier on Security
Schneier on Security
N
Netflix TechBlog - Medium
T
The Blog of Author Tim Ferriss
Google DeepMind News
Google DeepMind News
Hacker News - Newest:
Hacker News - Newest: "LLM"
H
Hacker News: Front Page
博客园 - 司徒正美
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
B
Blog
Microsoft Azure Blog
Microsoft Azure Blog
大猫的无限游戏
大猫的无限游戏
Security Latest
Security Latest
Engineering at Meta
Engineering at Meta
N
News and Events Feed by Topic
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
酷 壳 – CoolShell
酷 壳 – CoolShell
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Threat Research - Cisco Blogs
U
Unit 42
V
V2EX
V2EX - 技术
V2EX - 技术
L
LINUX DO - 最新话题
aimingoo的专栏
aimingoo的专栏
Microsoft Security Blog
Microsoft Security Blog
Recorded Future
Recorded Future
P
Privacy & Cybersecurity Law Blog
美团技术团队
小众软件
小众软件
F
Fortinet All Blogs

博客园 - 我家的木子

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.