WordPress:Settings Permalinks SubPanel
Settings → Permalinks[ ]
By default WordPress uses web URLs which have question marks and lots of numbers in them, however WordPress offers you the ability to create a custom URL structure for your permalinks and archives. This can improve the aesthetics, usability, and forward-compatibility of your links.
设置 → Permalinks[ ]
默认情况下,WordPress使用的网络URLs,有问号和许多数字,但是WordPress给你提供一个机会来为你的permalinks和archives创建一个自定义的URL结构。 这可以提高美感,用处和你的链接的向前兼容性。
For a more in depth description of the way this structure is specified, see the WordPress:Using Permalinks article. For an introduction to Permalinks, read the Pretty Permalinks section of WordPress:Introduction to Blogging.
640px|right|Settings Permalinks SubPanel
Back to WordPress:Administration Panels.
关于这个结构的更深入的描述,请看看文章使用Permalinks。 关于Permalinks的介绍,请阅读博客介绍中的Pretty Permalinks部分。
返回到管理面板。
Customize Permalink Structure[ ]
A number of tags are available, and here are some examples to get you started.
- Common settings
- Check one of the radio buttons corresponding to the correct Permalink Structure for your blog.
自定义 Permalink 结构[ ]
拥有的标签,这里有些例子,帮你开始。
;普通设置: 选择一个单选按钮,与你的博客的正确的Permalink结构相应。
- Default - An example of the default structure is http://www.sample.com/?p=123
- Day and name - An example of the day and name based structure is http://www.sample.com/2008/03/31/sample-post/
- Month and name - An example of the monthe and name based structure is http://www.sample.com/2008/03/sample-post/
- Numeric - An example of the numeric structure is http://www.sample.com/archives/123
- 默认 –默认结构的一个例子,在http://www.sample.com/?p=123
- 星期和名称 –星期和名称为基础的结构是http://www.sample.com/2008/03/31/sample-post/
- 月份和名称 –月份和名称为基础的结构是http://www.sample.com/2008/03/sample-post/
- 数字的 –数字的结构的一个例子,是http://www.sample.com/archives/123
- Custom structure - In the box specify the custom structure you desire to use. One example is /archives/%year%/%monthnum%/%day%/%postname%/. Look at the WordPress:Using Permalinks article for further discussion of Permalink Structure Tags.
- 自定义结构 – 这个框,规定了你想要使用的自定义结构。 一个例子是/archives/%year%/%monthnum%/%day%/%postname%/。 看看使用Permalinks文章,看看关于Permalink 结构标签的深入讨论。
- Optional
- You may enter custom bases for your category and tag URLs here. For example, using /topics/ as your category base would make your category links like http://example.org/topics/uncategorized/. If you leave these blank the defaults will be used. Again, see the WordPress:Using Permalinks article for further discussion of Permalink Structure Tags.
- Category base - Enter a custom prefix for your category URLs here.
- Tag base - Enter a custom prefix for your tag URLs here.
;可选择的:你可以为类别和标签,在这里输入自定义基础。 例如,使用/topics/作为你的类别基础,会使你的类别链接看起来像http://example.org/topics/uncategorized/。 如果你将这些保留为空白,就会使用默认设置。 再次看看使用Permalinks文章, Permalink 结构标签的深入讨论。
- 类别基础 –在这里为你的类别URLs输入自定义的前缀。
- 标签基础 –在这里为你的标签URLs输入自定义的前缀。
- 也注意: 对于以点号("
.
")如".htaccess
"开始的文件,在大多数服务器上,都是默认隐藏的。 更多关于这方面的信息,请看看更改文件权限。
comment out的结尾 -->
Save Changes[ ]
- Click the Save Changes button to ensure any changes you have made to your Settings are saved to your database. Once you click the button, a confirmation text box will appear at the top of the page telling you your settings have been saved.
Back to WordPress:Administration Panels.
保存更改[ ]
;点击保存更改按钮,确保你对设置所作的个更改保存在你的数据库中。 你点击按钮后,在网页的顶上放会出现确认框,通知你,你的设置已经得到了保存。
返回到管理面板。