WordPress静态化-永久链接-SEO

作者:admin发表时间:2010-10-9 评论:2 点击 4,492+

在“自定义结构”中填写永久链接的格式。例如样式:https://log.pub/category/post-name.html
写法: /%category%/%postname%.html其他规则有:
样式:https://log.pub/123.html

 

写法:/%post_id%.html
样式:https://log.pub/archives/123.html
写法:/archives/%post_id%.html
样式:https://log.pub/2007/09/16/post-name.html
写法:/%year%/%monthnum%/%day%/%postname%.html
样式:https://log.pub/2007/03/post-name.html
写法:/%year%/%monthnum%/%postname%.html
样式:https://log.pub/archives/post-name.html
写法:/archive/%postname%.html
样式:https://log.pub/post-name.html
写法:/%postname%.html
说明:
%year% 日志发布的年,4位数字,如:2004
%monthnum% 日志发布的月份,2位数字,如:05
%day% 日志发布当月的第几天,2位数字,如:28
%hour% 日志发布时间中的“小时”,2位数字,如:15
%minute% 日志发布时间中的“分钟”,2位数字,如:43
%second% 日志发布时间中的“秒”,2位数字,如:33
%postname% 一串处理过的日志标题。如,日志标题为“This Is A Great Post!”,那么%postname%表示为“this-is-a-great-post”
%post_id% 日志的唯一编号
%category% 日志所在的分类
%author% 日志的作者

顶一下 0 踩一下 0

你可能对以下内容感兴趣!

  1. 谷歌打不开,wordpress后台反应慢
  2. wordpress免费的备份插件BackUpWor...
  3. 谈一谈让wordpress更安全
  4. wordpress添加自定义默认头像
  5. wordpress本地测试站开启伪静态
  6. 修改wordpress官方twentyeleven...
  7. 给wordpress友情链接页面添加Favicon...
  8. JQuery和CSS 版wordpress 弹性伸...

2 个评论 “WordPress静态化-永久链接-SEO

发表回复

*

w_0002.gif w_0009.gif w_0007.gif w_0011.gif w_0005.gif w_0008.gif w_0010.gif w_0003.gif w_0012.gif w_0001.gif w_0006.gif