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

推荐订阅源

cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
C
CERT Recently Published Vulnerability Notes
C
Cybersecurity and Infrastructure Security Agency CISA
P
Proofpoint News Feed
Security Latest
Security Latest
P
Privacy International News Feed
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
AI
AI
Cisco Talos Blog
Cisco Talos Blog
K
Kaspersky official blog
S
Secure Thoughts
PCI Perspectives
PCI Perspectives
Simon Willison's Weblog
Simon Willison's Weblog
D
DataBreaches.Net
GbyAI
GbyAI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
大猫的无限游戏
大猫的无限游戏
T
Tailwind CSS Blog
The Cloudflare Blog
阮一峰的网络日志
阮一峰的网络日志
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
罗磊的独立博客
V
Visual Studio Blog
aimingoo的专栏
aimingoo的专栏
H
Hackread – Cybersecurity News, Data Breaches, AI and More
IT之家
IT之家
V
V2EX
Last Week in AI
Last Week in AI
有赞技术团队
有赞技术团队
月光博客
月光博客
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Tenable Blog
T
Threat Research - Cisco Blogs
T
Troy Hunt's Blog
V2EX - 技术
V2EX - 技术
S
Security @ Cisco Blogs
Security Archives - TechRepublic
Security Archives - TechRepublic
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
L
Lohrmann on Cybersecurity
F
Full Disclosure
H
Help Net Security
博客园 - Franky
Stack Overflow Blog
Stack Overflow Blog
N
Netflix TechBlog - Medium
Engineering at Meta
Engineering at Meta
A
Arctic Wolf
O
OpenAI News
S
Securelist

Typecho Official Site - 0.5

暂无文章

介绍一下开发中的自定义链接功能 - Typecho Official Site
作者:sluke · 2009-02-24 · via Typecho Official Site - 0.5

在typecho0.5版本中,我们加入了一个十分有利于SEO的特性,那就是灵活的自定义链接功能。

在我们开启rewrite功能之后,在以往的版本中, 只能使用以下四种风格:

 默认风格 /archives/{cid}/
 wordpress风格 /archives/{slug}.html
 按日期归档 /archives/{year}/{month}/{day}/{slug}.html
 按分类归档 /{category}/{slug}.html

现在,我们提供了自定义组合的功能,可用参数如下:

可用参数:{cid} 日志ID、{slug} 日志缩略名、{category} 分类、{year} 年、{month} 月、{day} 日

实际上,参数还在不断丰富中,用户可以自由组合出自己想要的永久链接形式。例如:

/{category}/{year} /{month}/{day} /{slug}.html

除了链接,独立页面后缀也是可以设置的,目前提供的是三种:

 .html .htm .php

启用这个功能后,选择html,日志的地址就可以类似:

http://www.typecho.net/example.html

标签:链接, 0.5